|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1509 Seg Fault in mySqldatabase connection Mod_Perl1.19/PHP3.0.7/Apache1.3.6
Submitted: 1999-06-08 08:51 UTC Modified: 2002-06-16 08:32 UTC
From: d at kleber dot net Assigned:
Status: Not a bug Package: Reproducible Crash
PHP Version: 3.0.7 OS: Redhat 5.2/5.0 Glibc 2.0.7-29
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: d at kleber dot net
New email:
PHP Version: OS:


 [1999-06-08 08:51 UTC] d at kleber dot net
When I compile Aapche 1.3.6 on Redhat Linux (5.0 or 5.2) for intel with the following statically linked modules

Mod_Perl 1.19
Mod_SSL 2.3.0 - 1.3.6
Jserv 1.0b5
MySql 3.22.22
Perl 5.004_05

There is no php.ini

I can no longer access .iphtml files (.html files parsed using eperl 2.2.14) which use the perl DBI module (loaded into mod_perl/apache's memory space at startup time). The child process dies with a segementation fault and the browser responds with a 'document contained no data' error. This also occurs when I compile without Jserv, and when I configure PHP without an awareness to mysql's presence. .iphtml files without database connects in them work as expected, and if I compile without PHP all scripts work correctly.

I know that it seems like overkill to compile both PHP and Mod_perl into the server, but we have several users who can be trusted to develop PHP scripts, but not CGI/iphtml or other perl scripts, and we also have to develop for a number of different server setups. Has anyone succsesfully compiled Mod_Perl/PHP/Apache into one static httpd binary which works? I can't find much mention of it anywhere... is there a specifc order they should be compiled in? Or am I just asking too much?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 08:32 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Nov 29 10:03:14 2021 UTC