Apache Cannot load modules/libphp5.so into server: when I installed php5-gd

user2924482 picture user2924482 · Dec 11, 2013 · Viewed 38.1k times · Source

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?

Answer

Joseph Christopher picture Joseph Christopher · Dec 11, 2013

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