Talon21 Posted October 13, 2008 Share Posted October 13, 2008 Hi, I'm runing a VPS on Debian OS. It's seems that I manage to mess up my apache when I try to restart it I receive the following: vps:/etc/apache2/sites-available# /etc/init.d/apache2 restart Forcing reload of web server (apache2).../etc/init.d/apache2: line 78: kill: (15746) - No such process apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory failed! Please advice thanks, Tal Link to comment https://forums.phpfreaks.com/topic/128156-apache-failed-after-restart/ Share on other sites More sharing options...
Talon21 Posted October 13, 2008 Author Share Posted October 13, 2008 Ok so we have the following errors: 1. Forcing reload of web server (apache2).../etc/init.d/apache2: line 78: kill: (15746) - No such process Line78: if [ "${PID}" ]; then # in this case it is everything nice and dandy # and we kill apache2 Line78: kill $PID 2. apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Line185: # Include module configuration: Include /etc/apache2/mods-enabled/*.load Line 185: Include /etc/apache2/mods-enabled/*.conf 3. Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory Line 1: LoadModule php5_module /usr/lib/apache2/modules/libphp5.so Thanks Again Link to comment https://forums.phpfreaks.com/topic/128156-apache-failed-after-restart/#findComment-663812 Share on other sites More sharing options...
trq Posted October 13, 2008 Share Posted October 13, 2008 Does libphp5.so exist within /usr/lib/apache2/modules/ ? Link to comment https://forums.phpfreaks.com/topic/128156-apache-failed-after-restart/#findComment-663814 Share on other sites More sharing options...
Talon21 Posted October 13, 2008 Author Share Posted October 13, 2008 Yes vps:/usr/lib/apache2/modules# locate libphp5.so /usr/lib/apache2/modules/libphp5.so Link to comment https://forums.phpfreaks.com/topic/128156-apache-failed-after-restart/#findComment-663827 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.