Click to See Complete Forum and Search --> : mod_php4.c error with Apache


Anon
06-15-2001, 02:27 PM
Hi,

I'm trying to install PHP4 as a DSO under an Apache/1.3.14 installation on a RedHat Linux platform.

Compiling and installing is no problem, but when I restart apache, apache seg.faults..

The error log says: [Fri Jun 15 17:54:07 2001] [error] Cannot remove module mod_php4.c: not found in module list


The directive in httpd.conf triggering the problem is: AddModule mod_php4.c

When I put this line in on the appropiate place in httpd.conf. Apache segmentation faults, and drops core..


httpd -l shows:
Compiled-in modules:
http_core.c
mod_so.c

Integrity tests on httpd.conf shows no errors..

Any ideas ??

My installed PHP3 version works like a charm..

Anon
10-16-2001, 08:10 PM
Having this same problem, does anyone know the answer?

Anon
10-17-2001, 03:24 PM
you need to add the line
AddModule mod_php4.c
under the
ClearModuleList
heading in your httpd.conf file


Rolf Nilsen wrote:
-------------------------------
Hi,

I'm trying to install PHP4 as a DSO under an Apache/1.3.14 installation on a RedHat Linux platform.

Compiling and installing is no problem, but when I restart apache, apache seg.faults..

The error log says: [Fri Jun 15 17:54:07 2001] [error] Cannot remove module mod_php4.c: not found in module list


The directive in httpd.conf triggering the problem is: AddModule mod_php4.c

When I put this line in on the appropiate place in httpd.conf. Apache segmentation faults, and drops core..


httpd -l shows:
Compiled-in modules:
http_core.c
mod_so.c

Integrity tests on httpd.conf shows no errors..

Any ideas ??

My installed PHP3 version works like a charm..

Anon
10-24-2001, 01:02 AM
Perfectly :)

Anon
10-31-2001, 11:17 AM
I had the same problem with an apache / php install on win98.

It fixed that too !

Thanks,

Matt

Anon
11-14-2001, 11:58 AM
It's in ClaerModuleList, but still not working...

Anon
12-02-2001, 05:52 PM
The module must first be loaded, make sure this is so in your httpd.conf file:

<IfDefine HAVE_PHP4>
LoadModule php4_module modules/libphp4.so