Web Hosting Talk







View Full Version : error after installing PHP4


yesyes
09-12-2001, 11:15 AM
Hi,

I get the following error when restarting httpd (apache) after installing PHP 4.0.6 :

Setting up Web Service: Syntax error on line 58 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: undefined symbol: sk_X509_pop_free
/usr/sbin/httpd

Does anyone know what actions to take ?

Thanks in advance.

-Edward-
09-12-2001, 11:55 AM
make sure you have this line in srm.conf -

LoadModule php4_module /usr/lib/apache/libphp4.so

yesyes
09-13-2001, 03:09 AM
That line I already have in httpd.conf, but when itīs loading
I get the error:

Syntax error on line 58 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: undefined symbol: sk_X509_pop_free
/usr/sbin/httpd

I believe it has something to do with Open SSL

yesyes
09-17-2001, 08:59 AM
no one knows the solution ?

zbco
09-17-2001, 12:05 PM
Same error when I was trying to install mod_layout.so

undefined symbol

Toto
09-17-2001, 07:37 PM
This message is from: http://pkg.nl.cobalt.com/packages/raq/4/#php copied and solved the Problem for me:

If you use mysql with php, please note you need to add a line 'extension=mysql.so' to /etc/httpd/php.ini to load the mysql php-module