Symptoms
Apache was installed manually and now can not be started:
CONFIG_TEXT: AH00526: Syntax error on line 9 of /etc/apache2/mods-enabled/php5.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
Cause
Different apache2 package versions are installed on the server.
Resolution
Note: apply this article in case of the same cause.
Reinstall apache2:
- Login to the server via SSH.
- Remove apache2 packages:
# dpkg -P --force-all apache2 apache2-bin apache2-data apache2-mpm-event apache2-mpm-prefork
- Install apache2 packages:
# apt-get install apache2 apache2-bin apache2-data apache2-mpm-event apache2-mpm-prefork
- Reconfigure domains:
# plesk repair web -y
Comments
0 comments
Please sign in to leave a comment.