php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22850 php does not work with mod_ssl
Submitted: 2003-03-24 09:51 UTC Modified: 2003-03-25 06:38 UTC
From: tobias dot mattsson at comhem dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.3.1 OS: Linux RH 8.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tobias dot mattsson at comhem dot com
New email:
PHP Version: OS:

 

 [2003-03-24 09:51 UTC] tobias dot mattsson at comhem dot com
## Environment:
Red hat 8.0
Openssl 0.9.7a
apache 1.3.27
mod_ssl
gcc 3.2

## Description of the problem:
PHP generates a segmentation fault (but no coredump) when the webserver try to execute a .php file with ssl. But if I change the AddType in httpd.conf to .php4 (or anything else), it works fine.
It also works fine without SSL.
Even if the .php file did not exist, I get a segmentaion fault - not a 404!

The browser (mozilla) displays a alert message (document contains no data).

It seems to be hung up about the file-extension .php

I have not been able to create a core dump with gdb accordning to your instructions at http://bugs.php.net/bugs-generating-backtrace.php

From error_log:
[Mon Mar 24 17:16:07 2003] [notice] child pid 10008 exit signal Segmentation fault (11)

I have also tried openssl 0.9.6b (from RPM) and the latest CVS snapshot of PHP (php4-STABLE-200303241430) without any change.


PHP:s configure line:
./configure --with-mysql --with-openssl=/usr --with-apxs=/usr/local/apache/bin/apxs 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-24 10:41 UTC] magnus@php.net
If I remeber correctly, there was a problem with some mod_ssl
version. Check if you got latest one. I might be wrong.
 [2003-03-24 14:28 UTC] tobias dot mattsson at comhem dot com
The version of mod_ssl is 2.8.13
 [2003-03-24 19:15 UTC] sniper@php.net
Update mod_ssl to 2.8.14 which fixes some crashes they
introduced in 2.8.13..

 [2003-03-25 03:56 UTC] tobias dot mattsson at comhem dot com
Thank you, updating mod_ssl made it!
 [2003-03-25 06:38 UTC] sniper@php.net
Please leave this at 'Bogus' status, as this wasn't any bug in PHP itself.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 11:01:28 2024 UTC