Re: Shared MySQL support causes coredump...
| From: | Rasmus Lerdorf | Date: | Mon, 04 Sep 2000 03:40:36 +0000 |
| Subject: | Re: Shared MySQL support causes coredump... | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31882@lists.php.net to get a copy of this message | ||
> It seems that the shared mysql support now causes my Apache to
> coredump as soon as libphp4.so is loaded. If I compile with the
> same options minus the shared mysql support it runs fine. The
> server is an internal server so I can't give a URL for it (well I could
> but it'd be worthless w/o being on our internal DNS and all ;)) but
> the machine is also running mod_perl -- possible bad interaction
> between them?
>
> Any ideas anywhere, anyone?
If your MySQL libs are linked against pthreads this will happen. Check
using ldd. If they are, grab the MySQL tarball and compile from source,
or recompile from the source rpm and remove the switch in the spec file
that turns on the threaded client code.
-Rasmus