Syntax error on line 160 of /etc/apache2/apache2.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
解决方案:重装apache2
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
解决方案:重装apache2
sudo apt-get purge apache2.2-common smb2www apache2-doc && sudo apt-get install apache2
apt-get install libapache2-mod-php5 php5 php5-gd php5-cli cd /etc/apache2/mods-enabled/ sudo ln -s ../mods-available/php5.load php5.load sudo ln -s ../mods-available/php5.conf php5.conf
dpkg: error processing libapache2-mod-php5 (--configure): subprocess installed post-installation script returned error exit status 10 Errors were encountered while processing: libapache2-mod-php5 E: Sub-process /usr/bin/dpkg returned an error code (1)
解决方案:终端进入sudo cd /var/lib/dpkg
rm -rf info.bak
mv info info.bak
mkdir info