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
Any of you knows why or how can I fix this error?
It could be because openSSL hasn't been updated. Could you try updating openSSL via yum and let us know if it works?
yum update openssl
The php you are trying to load is compiled with more recent version of openssl than you have installed. Most probably you have messed installation using repositories with different versions of openssl libs. Or else for different versions of OS.
yum list php-gd
and yum list openssl
rpm -qf /etc/httpd/modules/libphp5.so
should give you a hint or two.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With