php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5257 Apache core dumps with LoadModule line in httpd.conf
Submitted: 2000-06-29 03:26 UTC Modified: 2000-08-18 19:22 UTC
From: brianj at fusionwerks dot com Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 4.0 Latest CVS (29/06/2000) OS: OpenBSD 2.6 (Apache 1.3.9, custo
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
2 + 44 = ?
Subscribe to this entry?

 
 [2000-06-29 03:26 UTC] brianj at fusionwerks dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-26 02:03 UTC] waldschrott@php.net
Please verify that it?s still happening using the latest version of PHP (release 4.0.1pl2 or CVS).

Is this one different from 5256 you?ve posted?
 [2000-08-18 18:51 UTC] sniper@php.net
No feedback from user.
Try using full path to apxs in --with-apxs

--Jani
 [2000-08-18 19:22 UTC] brianj at fusionwerks dot com
This has been fixed with the latest CVS snapshot. Even without the full path, it builds and functions correctly now AFAIK.

% uname -a
OpenBSD helios 2.6 GENERIC#696 i386

% 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"

Brian



 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 22:01:29 2024 UTC