Bug #793 Updated: Not nessessary -lpthread leads to misbehaving of Apache
| From: | Bug Database | Date: | Sun, 27 Sep 1998 13:51:01 +0000 |
| Subject: | Bug #793 Updated: Not nessessary -lpthread leads to misbehaving of Apache | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1526@lists.php.net to get a copy of this message | ||
ID: 793
User Update by: zavadsky@im.bas-net.by
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@lists.php.net
For help: php-dev-help@lists.php.net