Re: mod_ssl + mod_php4 segmentation faults

From: Date: Thu, 09 Nov 2000 21:30:51 +0000
Subject: Re: mod_ssl + mod_php4 segmentation faults
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-37609@lists.php.net to get a copy of this message
> So I've rebuilt the mysql client libs using --disable-thread-safe-client and > that's fixed it. But I'm a bit concerned about not having threads in the > client. Presumably this has some resource/speed implications? No, the MySQL server is threaded. Having a threaded client library is only useful for threaded client applications. PHP is not threaded, so there is absolutely no difference when it comes to PHP. > If I understand correctly what you've said, then would an alternative be > to *statically* link pthreads into libmysqlclient.so? Presumably I could do > this by building a static libpthread.a and then fiddle with the MySQL configure > to get it to use this for the client rather than libpthread.so. Sounds > reasonable? Yes, you could try that too and it should work, but there is no technical reason to use a pthread-linked mysql client library with PHP. -Rasmus

« previous php.dev (#37609) next »