Apache Cannot load modules/libphp5.so into server: when I installed php5-gd
I was trying to install php5-gd but after ran this command:
yum install php-gd php-tidy
and tried to restart apache:
httpd -k restart
I got the following error:
httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.modules.d/10-php.conf: Cannot load modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: symbol SSLeay_version, version OPENSSL_1.0.1 not defined in file libcrypto.so.10 with link time reference
Yes, he used yum so it'll be an rpm. But if he has cpanel installed recompiling apache is usually required to kick new modules into gear as php.ini and apache itself don't always get configured properly automatically.
A quick recompile usually can resolve issues like this (although as someone else posted, updating openssl may solve the issue).
He didn't say if a control panel is involved, my post was more of an "if it is" type thing. I know more than enough about how cPanel works, I also know it can be touchy if you install stuff via RPM rather than through EA.
So if he has it installed recompiling may solve it. If not then it's back to troubleshooting if the openssl update doesn't help.
But it's a moot point, just did some googling
yum update openssl
has solved the exact same issue for pretty much everyone I found that had that problem.
I know more than enough about how cPanel works, I also know it can be touchy if you install stuff via RPM rather than through EA.
It is pretty clear from your signature Anyway I am sorry if I misread your post and do understand what you were trying to mention. Yes, update openssl package fixed most such issues I could read after a quick googling as well.