PHP 4.0 Bug #5257: Apache core dumps with LoadModule line in httpd.conf
| From: | brianj at fusionwerks dot com | Date: | Thu, 29 Jun 2000 07:26:15 +0000 |
| Subject: | PHP 4.0 Bug #5257: Apache core dumps with LoadModule line in httpd.conf | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22593@lists.php.net to get a copy of this message | ||
From: brianj@fusionwerks.com
Operating system: OpenBSD 2.6 (Apache 1.3.9, custom OpenBSD audited with compiled in openssl
support)
PHP version: 4.0 Latest CVS (29/06/2000)
PHP Bug Type: Dynamic loading related
Bug description: Apache core dumps with LoadModule line in httpd.conf
Greetings (sadly),
% uname -a
OpenBSD helios 2.6 GENERIC#696 i386
% httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_so.c
mod_setenvif.c
mod_ssl.c
% httpd -V
Server version: Apache/1.3.9 (Unix)
Server built: Oct 31 1999 11:09:40
Server's Module Magic Number: 19990320:6
Server compiled with....
-D EAPI
-D HAVE_MMAP
-D HAVE_SHMGET
-D USE_MMAP_SCOREBOARD
-D USE_MMAP_FILES
-D USE_FLOCK_SERIALIZED_ACCEPT
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D HTTPD_ROOT="/var/www"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
-D DEFAULT_LOCKFILE="logs/httpd.lock"
-D DEFAULT_XFERLOG="logs/access_log"
-D DEFAULT_ERRORLOG="logs/error_log"
-D TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
-D ACCESS_CONFIG_FILE="conf/access.conf"
-D RESOURCE_CONFIG_FILE="conf/srm.conf"
Configure line was:
./configure --with-apxs --with-mysql \
--with-xml --enable-track-vars \
--enable-magic-quotes \
--with-openssl --with-gettext
Symptoms:
configure, make, and make install go just fine.
If the LoadModule line for php4:
LoadModule php4_module /usr/lib/apache/modules/libphp4.so
is present, upon restart (apachectl restart) anything with the .php extension is sent to browser as
plain-text (yes, addtype lines are set and configured correctly). If a
apachectl stop,'
then apachectl start' is issued, apache core dumps and will not restart until you
comment out the php4 LoadModule line.
Currently working fine with PHP 3.0.16.
If there is anything you'd like for me to do, email me and I'd be more than willing to do
further testing under developer guidance.
Thanks,
Brian Clark