php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34637 PHP5 and mod_ssl won't play nice...
Submitted: 2005-09-26 01:32 UTC Modified: 2005-10-04 01:00 UTC
From: rtdean at tcamail dot net Assigned:
Status: No Feedback Package: Apache related
PHP Version: 5.0.5 OS: FreeBSD 4.11-STABLE
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-09-26 01:32 UTC] rtdean at tcamail dot net
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-26 08:54 UTC] sniper@php.net
What configure line did you use to configure PHP?

 [2005-09-26 08:55 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

Try this snapshot, the one tony2001@php.net asked you to test is wrong one..

 [2005-10-04 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Oct 31 20:01:24 2020 UTC