I just wonder if anyone could help me in this as I have spent days trying to fix this problem.
I installed php 5.0.4, perl 5.8.7, mod_perl 1.0 and apache 1.3.33 into the same box.
Before mod_perl was installed, php programs ran fine. However, once mod_perl is installed, running php program created segment fault error and the apache log shows:
[notice] child pid 2838 exit signal Segmentation fault (11)
If I remove mod_perl from apache, the php program runs fine.
I read from http://mail-archives.apache.org/mod_...etdance.com%3E
that I need to re-configure perl with:
$ ./Configure --Acppflags=-DPERL_USE_SAFE_PUTENV
and then do:
along with any other Configure options you may need. Run "make",
"make test", and "make install." Then recompile mod_perl. If
your mod_perl is statically linked into apache, recompile apache
When I ran perl -V:cppflags, it came back with:
cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm';
I thought it is okay but but still hit the same problem.
Can anyone please help me?