php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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
PHP3.0.7
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?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 08:32 UTC] sander@php.net
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 http://www.php.net/downloads.php

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 08:01:30 2024 UTC