[Mod_log_sql] using mod_log_sql segmentation fault

Rene Kanzler rk at cosmomill.de
Tue Sep 29 04:49:16 EDT 2009


Hello

On Tue, 29 Sep 2009 00:50:53 +0200, ax <list at ax21.de> wrote:

> Now I want to know if there is any other possibility to get this  
> working.
> Will it be possible just to give the directive somewhere in php.ini,   
> or any other "trick" to make it work?
> (I dont want to recompile PHP since I want it to be managed by apt)

It is not possible without recompile mod_log_sql or php as far as I know.

> Or maybe any idea if it might not even be this problem described
> 
> 
> or any idea on this problem?

The segmentation fault is caused by php-mysql and mod_log_sql not compiled
with the same libmysqlclient version.
At first you can check with ldd with which libmysqlclient version
mod_log_sql_mysql.so and mysql.so are compiled.
Try to install php and mod_log_sql from the same apt repository.

Bye
Rene 


More information about the Mod_log_sql mailing list