#34637 [NEW]: PHP5 and mod_ssl won't play nice...

From: Date: Sun, 25 Sep 2005 23:32:21 +0000
Subject: #34637 [NEW]: PHP5 and mod_ssl won't play nice...
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-85567@lists.php.net to get a copy of this message
From: rtdean at tcamail dot net Operating system: FreeBSD 4.11-STABLE PHP version: 5.0.5 PHP Bug Type: Apache related Bug description: PHP5 and mod_ssl won't play nice... Description: ------------ I'm running apache-1.3.33 with mod_ssl-2.8.24 on FreeBSD 4.11. I've installed this via ports, using no special options. For fun, I built everything by hand as well, and ran into the same issues. I'm in the process of upgrading from running 4.4.0 to 5.0.5. With 4.4.0, everything is working just fine; I can run PHP content in an SSL-enabled vhost. When I upgraded to PHP 5.0.5, when I start apache, it seems to launch okay, but instead crashes and burns. There is no useful information in the log file(s). So, I started some testing. If I start the server without SSL support, everything comes up just fine. Conversely, if I start the server with SSL but without PHP, again, everything is working just fine. Both mod_ssl and PHP5 are linked against the same version of OpenSSL in the same place on disk. Now, interestingly enough, if I reorder the module execution order so the Load/Add directives for SSL come below the directives for PHP, the system will start - and PHP content on non-SSL sites will work just fine. However, any dynamic content on a SSL site, wether it be PHP, CGI, or server-extended (ie, server-info) causes the apache child which is servicing the request to segmentation fault. I'm not sure where the offender is, but I've repeatedly recompiled Apache with mod_ssl and PHP, so it wasn't a one-time compile bug. Looking through the bug history, it looks like #29227 might have been the same issue I'm seeing, but there was no resolution provided. -- Edit bug report at http://bugs.php.net/?id=34637&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34637&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34637&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34637&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34637&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34637&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34637&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34637&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34637&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34637&r=support Expected behavior: http://bugs.php.net/fix.php?id=34637&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34637&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34637&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34637&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34637&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34637&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34637&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34637&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34637&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34637&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34637&r=mysqlcfg

« previous php.bugs (#85567) next »