I got segfault on apache when php installed.
Apache 2.0.46 + PHP 4.3.3-RC1 + RH9 + Linux 2.4.21

My apache server segfault each time it receive a signal (SIGUSR1 or SIGHUP or
example).
Therefore, apache core at log rotation.
I got in error log :
"[notice] seg fault or similar nasty error detected in the parent process"

If a remove the line
"LoadModule php4_module modules/libphp4.so"
from my httpd.conf, apache DON'T core any more.

More, if I use the standard Redhat 9 kernel, every thing is Ok, but as soon as
I use my own kernel (2.4.20 or 2.4.21) the problem comes out.
My kernel works fine with any other applications or services.

I have the same problem
- with Apache 2.0.44, 2.0.45 or 2.0.46
- with PHP 4.3.1, 4.3.2, 4.3.3-RC1 or CVS-STABLE,
- with a custom 2.4.20 or 2.4.21 kernel (but not with standard RH9 kernel
!!!).

strace doesn't give any revelant information.

I have done lot of search, read apache and PHP mailing list and bugs report.
I found some people with the exactly the same problem but none got solutions!

Is there any incompatibility beetween some compilation of Linux kernel and PHP
?

Thanks for _any_ help

Nicolas

PS :
my php configuration :
./configure --with-mysql --with-ldap --with-gettext --enable-force-cgi-redirec
t --with-apxs2=/path_to_apache2/bin/apxs --enable-track-vars --with-config-fil
e-path=/etc

my apache 2 conf
./configure --prefix=/tmp/apache2 --libdir=/lib --with-mpm=prefork \
  --disable-v4-mapped --enable-access --enable-auth --enable-auth-anon
  --disable-auth-dbm --disable-auth-digest --disable-isapi --disable-file-cach
e
  --disable-echo --disable-charset-lite --disable-cache --disable-disk-cache \
  --disable-mem-cache --disable-example --disable-case-filter --disable-case-f
ilter-in \
  --disable-ldap --disable-auth-ldap --disable-ext-filter --disable-include \
  --enable-deflate --enable-log-config --enable-logio --disable-env \
  --disable-mime-magic --disable-cern-meta --enable-expires --disable-headers
\
  --disable-usertrack --disable-unique-id --enable-setenvif --enable-proxy \
  --disable-proxy-connect --disable-proxy-ftp --enable-proxy-http --enable-ssl
\
  --disable-optional-hook-export  --disable-optional-hook-import \
  --disable-optional-fn-import  --disable-optional-fn-export \
  --enable-bucketeer --enable-static-support --enable-static-htpasswd \
  --enable-static-htdigest --enable-static-rotatelogs --enable-static-logresol
ve \
  --enable-static-htdbm --enable-static-ab --enable-static-checkgid \
  --enable-http --enable-mime --disable-dav --enable-status \
  --disable-autoindex --disable-asis --enable-info --disable-suexec \
  --enable-cgi --disable-cgid --disable-dav-fs --enable-vhost-alias \
  --disable-negotiation --enable-dir --disable-imap --disable-actions \
  --disable-speling --disable-userdir --enable-alias --enable-rewrite \
  --enable-so


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to