Re: Segfaults using PEAR

From: Date: Wed, 26 Sep 2001 23:52:29 +0000
Subject: Re: Segfaults using PEAR
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2073@lists.php.net to get a copy of this message
Kendrick Vargas wrote: > > I don't know if this will help, but I used to have a similar problem > almost a year ago. If I compiled mysql with thread support, it would > completely piss the web server off. It'd do just what you said. This was > with mysql-3.22.32 and apache-1.3.14, but I imagine anything compiled with > threading support would've pissed off apache 1.3.x... > > Check out your entire chain of thingies. If MySQL or IMAP is linked into > php, then it could possibly affect apache too. > -peace > I had the same problem with the oracle support and php as a shared module. As the Oracle libs are linked to libpthread, the resultant php module (libphp4.so) was also linked to this lib. This causes problems because the apache binary hadn't the threads support (someone said me that it's a glibc problem, if I don't remember bad). I solved the problem adding: EXTRA_LIBS= -lpthread to the src/Configuration.tmpl file from the Apache sources and recompiling. Tomas V.V.Cox

« previous php.pear.dev (#2073) next »