[PHP-DEV] Bug #793 Updated: Not nessessary -lpthread leads to misbehaving of Apache From: Bug Database (php-dev <email protected>)
Date: 09/27/98

ID: 793
User Update by: zavadsky <email protected>
Status: Open
Bug Type: MySQL related
Description: Not nessessary -lpthread leads to misbehaving of Apache

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)

Full Bug description available at: http://ca.php.net/bugs.php3?id=793

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>