Installing PHP5 crashes apache.. please help
I am running FreeBSD 5.3 with directadmin, apache 1.3.34, and PHP4 with APC cache. I only host my own sites and would like to replace PHP4 with PHP5. Since directadmin doesn't officially support php5, I have to install it myself.So, first of all, i download the source and compile it without a problem and have both "/usr/lib/apache/libphp4.so" and "/usr/lib/apache/libphp5.so" So far so good. Now to change the configurations.
In httpd.conf I do the following:
Code:
# LoadModule php4_module /usr/lib/apache/libphp4.so LoadModule php5_module /usr/lib/apache/libphp5.so [...] # AddModule mod_php4.c AddModule mod_php5.c
Ok, so that done i should be able to restart apache. So, I try and it doesn't work. The only thing I have in my error log is:
[Sun Feb 26 18:07:11 2006] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
I really have no idea what is going on.