Re: Apache with php4 mysql module and mod_log_sql wont start on openbsd
Edward Rudd <[email protected]> Wed, 12 May 2004 21:43:05 -0500
| Newsgroups | gmane.comp.apache.mod-log-sql |
|---|---|
| Organization | OutOfOrder.cc |
| Message-ID | <[email protected]> |
If you disable the mysql extension to php, by commenting it out in the php.ini file, does apache still segfault? If it doesn't than PHP and mod_log_sql are most likely compiled with different mysql client libraries. Try finding the mysql.so file installed by the php4-mysql port package and running $ ldd mysql.so Make sure it is linking to the libmysqlclient library. If it is not, than PHP needs to be recompiled to link against the system mysql client libraries and not the PHP provided library. You can also try running apache -X through GDB or your favorite debugger and run a backtrace (bt in GDB) when it segfaults. That will help track down where the segfault is happening. Regards, Edward On Wed, 2004-05-12 at 15:47, Mikael Syska wrote: > Hi, > > I have tried installing apahce/php4/mod_log_sql all from ports on the > OpenBSD 3.5, but when I enable the mod_log_sql module, it wont start and > gives me a Segmentation fault (core dumped) with httpd- X, and no mere > errors and now I'm totally lost... > > Any one here on the list running its on OpenBSD with the php4 mysql > module enabled..... > > I will happely provide more information if needed.... > > I runs like a charm if I disable the php4 module, but then I can't use > the server for any thing if that aint enabled :-( > > Kind regards > Mikael Syska > _______________________________________________ > Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/ > > To unsubscribe send an e-mail to mod_log_sql-unsubscribe-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org -- Edward Rudd <[email protected]> Website http://www.outoforder.cc/ _______________________________________________ Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/ To unsubscribe send an e-mail to mod_log_sql-unsubscribe-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBAouC5vwMxRUUct20RAptCAJwN2UzRlsNpQcTuccWLuVxyuZUO8gCcCbhD MilhQYd3miE67PnQcsumCWM= =sgQY -----END PGP SIGNATURE-----