I am having serious problems getting php4
to work. Compiling php4 as apache module without mysql works perfectly. But when i compile php4 with mysql support i start to get problems. After i put it in the httpd.conf and start the server, i get a segmentation fault. Then i load the php4 module as first module in apache (so i place LoadModule php4_module libexec/libphp4.so as first line) and then apache does start! No segmentation fault, however when i want to restart the server (apachectl restart) again i get segmentation fault. On a server with the exact same configuration, everything works fine, i even tried to use the libphp4.so i compiled on that server to use on the trouble server but no go again.
Anyone have any idea on how to solve this problem?
Config: Suse v7.0
Apache v1.3.12
Compiled-in modules:
http_core.c
mod_so.c
mod_frontpage.c
PHP v4.0.4pl1
mysqld Ver 3.22.32
apache + php were compiled by me, mysql is the rpm that came with suse v7.0