[Mod_log_sql] Apache with php4 mysql module and mod_log_sql wont start on openbsd

Edward Rudd urkle at outoforder.cc
Wed May 12 21:43:05 EST 2004


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 at lists.outoforder.cc
-- 
Edward Rudd <urkle at outoforder.cc>
Website http://www.outoforder.cc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.outoforder.cc/pipermail/mod_log_sql/attachments/20040512/d241c7bc/attachment.bin 


More information about the Mod_log_sql mailing list