php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4157 Almost always a segmentation fault when making a mysql connection
Submitted: 2000-04-16 07:20 UTC Modified: 2000-04-16 07:22 UTC
From: lashout at pi dot be Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0 Release Candidate 1 OS: RedHat 6.1
Private report: No CVE-ID: None
 [2000-04-16 07:20 UTC] lashout at pi dot be
Everythime a mysql connection is made, one child process of apache is killed by an segmentation fault.  I try to run php-3.0.16 and php-4.0 RC1 at the same time.  The 2 modules work fine alone, but if i try to run them both, almost everythime i try to make a connection to mysql with php3 a child proces crashes.
php3 compile options: ./configure '--with-apxs' '--enable-versioning' '--with-ftp' '--with-mysql' '--with-snmp=/usr/include/ucd-snmp/' '--with-zlib=/usr/include/' '--with-config-file-path=/etc/httpd/' '--enable-track-vars' '--enable-magic-quotes' '--with-apache'
php3.ini file path is set to: /etc/httpd/

php4 compile options: ./configure' '--with-apxs' '--enable-versioning' '--with-ftp' '--with-mysql' '--with-snmp=/usr/include/ucd-snmp/' '--with-zlib=/usr/include/' '--with-config-file-path=/etc/httpd/' '--enable-track-vars' '--enable-magic-quotes'
php.ini path: /etc/httpd/ WITH zend optimizer.

Apache version = 1.3.12


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-16 07:22 UTC] lashout at pi dot be
Hmm, it seems when i first load the php3 module instead of php4, it works fine!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 23:01:32 2024 UTC