Apache Server error, libphp5.so
Hi Linuxquestions
I've installed Apache with PHP5, but when I try to start the server I get this error: [root@localhost crillegs]# /usr/local/apache2/bin/apachectl restart httpd: Syntax error on line 408 of /usr/local/apache2/conf/httpd.conf: API module structure `php5_module' in file /usr/local/apache2/modules/libphp5.so is garbled - perhaps this is not an Apache module DSO? Well line 408 (witch I added myself, to include libphp5.so, and that line is not the problem) tells: LoadModule php5_module modules/libphp5.so Anyone have a solution for this? Best Regards Christian S. |
Hi,
It seems your PHP5 so is corrupted or not compile for Apache on your machine, I suggest you download PHP5 for apache source and recomiple it and install. also try to run httpd -t to test your config before starting service.. Hope that help |
Apache, php5 and mysql have problems working together.
i spent ages trying to figure out a missing libphp5.so file but i found this article and it solved it. results in a valid php5.so file and allows apache to start without errors. (this won't let me post a link so i'll add it in a seperate post) My setup is - Apache 2 - PHP5 - MySQL 5 and all are working fine. If you try what this article suggests and are still having trouble, give me a shout back. |
|
All times are GMT -5. The time now is 06:27 PM. |