php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3785 php3 compiled with --with-mysql crashes apache
Submitted: 2000-03-09 13:31 UTC Modified: 2000-08-06 06:22 UTC
From: sdomas at ens-lyon dot fr Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.15 OS: linux redhat 6.1 kernel 2.2.12-2
Private report: No CVE-ID: None
 [2000-03-09 13:31 UTC] sdomas at ens-lyon dot fr
I've tried to compile the 3.0.15 version with option --with-mysql.
The compilation ends well but when I launch httpd (for example with apachectl) it says :
Syntax Ok.
Segmentation fault.

If I ommit --with-mysql, it works but I've got no mysql support.

What's the pb ?

ps : using a mysql.so is a solution but not satisafying (see bug n? 3783) at all.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-27 13:29 UTC] sas at cvs dot php dot net
Are you using the MySQL 3.22.32 RPM? 
 [2000-08-06 06:22 UTC] rasmus@php.net
This is because you are using a version of the mysql client libraries that have been linked against pthreads.  Compile the mysql client library from the mysql source tar ball and you will get one that isn't linked against pthreads and your problems will go away.  The MySQL guys will have a non-pthreads client rpm available soon.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 01:00:01 2026 UTC