2015-06-26 102 views
0

剛剛從6升級到Debian Wheezy並決定同時升級到PHP 5.5,只能重啓運行的Apache,但後來停止運行。Apache2在升級後不重啓Debian喘息和php 5.5

service apache2 restart 
apache2: Syntax error on line 236 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/php5_cgi.load: No such file or directory 
Action 'configtest' failed. 

以上conf文件中提到的線路有:

# Include module configuration: Include mods-enabled/*.load Include mods-enabled/*.conf

我想回去PHP 5.4,但每次我重新安裝時間僅爲5.5回來。

回答

0

我有類似的問題。我不知道確切原因,但我懷疑配置文件在各個版本中不兼容。

對於我來說,什麼工作是

apt-get purge apache2 
apt-get install apache2