I have apache+php+mysql installed and working normally without any problems on a FreeBSD 4.9 machine. I installed the above via the port system.
Now I am trying to get mod_log_sql working on the above server, however I am getting Apache segfaults. In the mod_log_sql documentation it says the following:
This occurs if you compiled PHP with MySQL database support. PHP utilizes its internal, bundled MySQL libraries by default. These conflict with the ``real'' MySQL libraries linked by mod_log_sql, causing the segmentation fault.
The solution is to configure PHP to link against the real MySQL libraries and recompile mod_php. Apache will run properly once the modules are all using the same version of the MySQL libraries.
Now my question is simple. How would I go about getting PHP linking against the real MySQL libraries ?
Thank you in advanced.
badcpu