Bug #10995 Updated: httpd dumps core when php4 module is loaded before modssl

From: Date: Mon, 21 May 2001 23:05:15 +0000
Subject: Bug #10995 Updated: httpd dumps core when php4 module is loaded before modssl
Groups: php.dev 
Request: Send a blank email to php-dev+get-56153@lists.php.net to get a copy of this message
ID: 10995 Updated by: sniper Reported By: yohgaki@hotmail.com Old-Status: Open Status: Analyzed Old-Bug Type: Apache related Bug Type: Documentation problem Operating system: PHP Version: 4.0 Latest CVS (2001-05-21) Assigned To: Comments: This is what works for me: = httpd.conf (OK) = <IfDefine SSL> LoadModule ssl_module lib/apache/libssl.so </IfDefine> LoadModule php4_module lib/apache/libphp4.so This is documentation problem. We must add a note into INSTALL file about this. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-05-22 00:11:18] yohgaki@hotmail.com Since post time is so close. You probably did not read my second post. (Sorry for the mess) First one does not work, second works for me too. I noticed wrong description immediately and posted follow up. It was too late. Anyway, configifure line is ./configure --with-apxs --disable-short-tags --disable-mysql --without-mysql --enable-bcmath --enable-ftp --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sockets --enable-mbstring --enable-mbstr-enc-trans --enable-inline-optimization --enable-memory-limit --with-regex=system --with-openssl --with-iconv --with-imap --with-mhash --with-mcrypt --with-pgsql --with-swf --with-zlib --with-bz2 --with-gd=/usr/local --with-jpeg-dir=/usr --with-xpm-dir=/usr/X11R6 --------------------------------------------------------------------------- [2001-05-21 14:21:11] sniper@php.net For me: The first example does not work. Second works. This is with PHP 4.0.6RC1 What is your configure line? Do you have any extensions/libs included that use openssl? --Jani --------------------------------------------------------------------------- [2001-05-21 14:13:16] yohgaki@hotmail.com Incorrect description "httpd.conf (NG)" must be "OK". "httpd.conf (OK)" must be "NG". --------------------------------------------------------------------------- [2001-05-21 14:08:54] yohgaki@hotmail.com This report is probably a duplicate of 9813 and 10974. Apahce+Mod-SSL dumps core when httpd is started with SSL option and php4 module is loaded before mod-ssl. = httpd.conf (NG) = LoadModule php4_module lib/apache/libphp4.so <IfDefine SSL> LoadModule ssl_module lib/apache/libssl.so </IfDefine> = httpd.conf (OK) = <IfDefine SSL> LoadModule ssl_module lib/apache/libssl.so </IfDefine> LoadModule php4_module lib/apache/libphp4.so Loading php4 module before mod-ssl starts httpd. It seems working. Apache 1.3.20 Mod-SSL 2.8.4 OpenSSL 0.9.6 PHP4.0.7-dev (CVS 5/21/2000) I guess you don't need config, backtrace, etc. If you need, let me know. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10995&edit=2

« previous php.dev (#56153) next »