php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #793 Not nessessary -lpthread leads to misbehaving of Apache
Submitted: 1998-09-27 08:34 UTC Modified: 1998-10-03 19:45 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: zavadsky at im dot bas-net dot by Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0.4 OS: Linux libc
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: zavadsky at im dot bas-net dot by
New email:
PHP Version: OS:

 

 [1998-09-27 08:34 UTC] zavadsky at im dot bas-net dot by
Libpthread is not nessesary to use mysql client. Because of apache is not thread save, using
of this library while linking apache leads to a strange behavior (see bug general/3085 in apache bugs database)
When I manually remove the library from the php module info, all works ok.
I do recomment you not to use thread library when linking PHP with MySQL client

P.S. In any case, if you use pthreads, it is nesseary to add -D_REENTRANT to php and apache compilation flags (in that case all works OK)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-10-03 19:45 UTC] zeev
Removed entirely.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jun 02 22:01:27 2025 UTC