Bug #10995 Updated: httpd dumps core when php4 module is loaded before modssl
| From: | sniper@php.net | Date: | Tue, 22 May 2001 00:59:55 +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-56162@lists.php.net to get a copy of this message | ||
ID: 10995
Updated by: sniper
Reported By: yohgaki@hotmail.com
Old-Status: Analyzed
Status: Feedback
Old-Bug Type: Documentation problem
Bug Type: Reproducible crash
Operating system:
PHP Version: 4.0 Latest CVS (2001-05-21)
Assigned To:
Comments:
I think I actually fixed this now. :)
Please try latest CVS.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-05-22 01:05:15] sniper@php.net
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
---------------------------------------------------------------------------
[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.
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10995&edit=2