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

Mikael Syska mikael at syska.dk
Thu May 13 01:38:57 EST 2004


Hey,

It works when I disable the mysql.so in the php.ini file :-P but I have 
no idea how to compile the php agains the system mysql lib, its all 
installed from ports, are there any on the list that uses OpenBSD that 
can guide me, or can I compile only the mysql.so file from the source??? 
if how???

// Mikael Syska

Edward Rudd wrote:

>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
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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
>  
>




More information about the Mod_log_sql mailing list