Koozali.org: home of the SME Server

Apache down after PHP 406 Upgrade

Mahmood Al-Yousif

Apache down after PHP 406 Upgrade
« on: August 28, 2001, 02:23:14 AM »
I've just upgraded PHP to 4.0.6 following Dan Brown's how-to. Unfortunately after the upgrade, Apache (the user) will not start, the admin Apache starts okay.

Here are the modules I've installed:

expat-1.95.1-1.i386.rpm
gd-with_gif-1.8.4-2.arvin.rh6.2.i586.rpm
gd-with_gif-devel-1.8.4-2.arvin.rh6.2.i586.rpm
gd-with_gif-progs-1.8.4-2.arvin.rh6.2.i586.rpm
mm-1.1.3-6.arvin.rh6.2.i586.rpm
mod_php-4.0.6-10.arvin.rh6.2.i686.rpm
openssl095a-0.9.5a-9.i386.rpm
php-4.0.6-10.arvin.rh6.2.i686.rpm
php-gd-with_gif-4.0.6-10.arvin.rh6.2.i686.rpm
php-imap-4.0.6-10.arvin.rh6.2.i686.rpm
php-ldap-4.0.6-10.arvin.rh6.2.i686.rpm
php-mysql-4.0.6-10.arvin.rh6.2.i686.rpm
php-sysv-4.0.6-10.arvin.rh6.2.i686.rpm

I have previously installed Apache 1.3.19 with mod_ssl 1.2.8.1-15 and everything was functioning okay with PHP 4.0.3.

The error.log says "Cannot remove module mod_php4.c: not found in module list"

I have re-installed the PHP 4.0.6 modules above using the "rpm -ivh --force" option and restarted Apache "/etc/rc7.d/S85httpd-e-smith" and it reports OK but the error (mod_php4.c) still occurs and shuts down the server.

The PHP modules installed (rpm -qa) are:

php-gd-with_gif-4.0.6-10.arvin.rh6.2
php-ldap-4.0.6-10.arvin.rh6.2
php-sysv-4.0.6-10.arvin.rh6.2
e-smith-php-1.2.0-04
mod_php-4.0.6-10.arvin.rh6.2
php-4.0.6-10.arvin.rh6.2
php-imap-4.0.6-10.arvin.rh6.2
php-mysql-4.0.6-10.arvin.rh6.2

In both situations I have re-applied the base fix: e-smith-base-4.4.0-26. Still no go.

Apart from formatting and reinstalling everything, I welcome your suggestions on what might be the problem and your views on a correction path.

regards
Mahmood Al-Yousif

Mahmood Al-Yousif

Re: Apache down after PHP 406 Upgrade
« Reply #1 on: August 30, 2001, 06:05:26 PM »
Well in the absense of any response, I guess I just have to re-install...