PHP4 & Apache Install Error
Hi all,
Okay here is the error message I am getting when I try to start apache server after installing php4:
Syntax error on line 236 of httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress
Here is what I did from the start:
1. untared apache_1.3.20.tar.gz
2. ./configure --enable-module=most --enable-shared=max
3. make
4. make install
That installed the server with no problems and with support for DSO
Next trying to install php4
1. again untarring php4
2. ./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs
3. make
4. make install
Everything runs okay and everything installs properly.
Then :
1. copy the php.ini-dist file to the apache conf file and name it php.ini
2. checking httpd.conf for the following :
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Upon restarting the server the above error appears saying libphp4.so: undefined symbol: uncompress
Does anyone have any idea what is going on?
I have looked everywhere for an answer and came up blank. Would really appreciate any direction.
Extra info:
1. Distro Red Hat Linux 6.2
2. PHP 4.0.6
3. Apache 1.3.20
Thanks,
Yazan
|