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
 [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

Add a Patch

Pull Requests

Add a Pull Request

History

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

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 02:01:30 2024 UTC