|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29227 mod_ssl + php5 will crash!
Submitted: 2004-07-17 17:48 UTC Modified: 2004-08-08 03:38 UTC
Avg. Score:1.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: herps at raqtweak dot com Assigned:
Status: Closed Package: Apache related
PHP Version: 5.0.0 OS: RedHat 7.x
Private report: No CVE-ID: None
 [2004-07-17 17:48 UTC] herps at raqtweak dot com
Trying to upgrade PHP 4.3.7 to PHP 5.0.0.
This machine is running Apache 1.3.29 with mod_ssl/2.8.16 OpenSSL/0.9.6m.

Now, PHP5 will work fine, but as soon as I activate the mod_ssl module, Apache crashes immediately after I start it...
When I disable mod_ssl, it works fine.
I have tried numerous things, different kernels, different openssl versions (0.9.6, 0.9.6m, 0.9.7d), recompiled Apache, nothing! Same problem over and over...

The backtrace I get:

Reading symbols from /lib/

warning: Unable to set global thread event mask: generic error
[New Thread 1024 (LWP 9814)]
Error while reading shared library symbols:
Cannot enable thread event reporting for Thread 1024 (LWP 9814): generic error
Reading symbols from /lib/
Loaded symbols for /lib/
Reading symbols from /usr/lib/perl5/5.6.0/i386-linux/auto/Data/Dumper/
Loaded symbols for /usr/lib/perl5/5.6.0/i386-linux/auto/Data/Dumper/
Reading symbols from /usr/lib/perl5/5.6.0/i386-linux/auto/IO/
Loaded symbols for /usr/lib/perl5/5.6.0/i386-linux/auto/IO/
Reading symbols from /usr/lib/perl5/5.6.0/i386-linux/auto/Fcntl/
Loaded symbols for /usr/lib/perl5/5.6.0/i386-linux/auto/Fcntl/
Reading symbols from /usr/lib/perl5/5.6.0/i386-linux/auto/Socket/
Loaded symbols for /usr/lib/perl5/5.6.0/i386-linux/auto/Socket/
Reading symbols from /usr/lib/gconv/
Loaded symbols for /usr/lib/gconv/
#0  0x4000b9f7 in _dl_signal_error () at eval.c:88
88      eval.c: No such file or directory.

Expected result:
Should run just fine, since 4.3.7 with the same config runs perfectly fine!

Actual result:
You see an httpd process spawn, then it crashes immediately...


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-17 20:39 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2004-07-18 16:54 UTC] herps at raqtweak dot com
Not sure what you need...

I compile PHP 5.0.0, REGARDLESS OF THE COMPILE OPTIONS I USE, the following happens.

Option #1
I restart Apache,
in the httpd.conf

LoadModule php5_module modules/php-5.0.0/
LoadModule ssl_module modules/

Check this,
[root conf]# /etc/rc.d/init.d/httpd restart ; ps ax | grep httpd
Shutting down Web Service:  httpd ok
/etc/rc.d/init.d/httpd: line 3: 17200 Killed                  $LCD_SWRITE "$LINE1" "$LINE2" >/dev/null 2>&1
Setting up Web Service:  httpd
  800 ?        S      0:00 /usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.con
10940 ?        S      0:00 /usr/sbin/httpd.admsrv -f /etc/admserv/conf/httpd.con
17234 pts/0    R      0:00 /usr/sbin/httpd -DHAVE_I18N -DHAVE_CCE -DHAVE_INTERBA

Then, 5 seconds later, I do another "ps ax | grep httpd"
No result. httpd crashed.

Now, I comment out
# LoadModule ssl_module modules/

restart apache, and everything runs fine, forever....
 [2004-08-08 01:46 UTC] herps at raqtweak dot com
Well, I posted as much information as I can, and what I get from I did just fine...

Can someone help?!!!
 [2004-08-08 03:37 UTC] herps at raqtweak dot com
Took me hours of debugging, but issue resolved. I was right, it is a conflict between PHP and mod_ssl.
 [2004-08-08 03:38 UTC] herps at raqtweak dot com
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 15:01:28 2024 UTC