Broke Apache2.4 and can't get PHP working?
Broke Apache2.4 and can't get PHP working?
... If you upgraded from Apache 2.2 to Apache 2.4, like I did, you'll find that some of your stuff has broken.
To get Apache 2.4 and PHP working again, you will need to use the following commands:
This will re-enable PHP with Apache 2.4. If you had MySQL working with Apache 2.2, it will function fine again.
You will also need to change these:
To:
or Require all granted as needed for anything that generates the "Invalid command 'order', perhaps misspelled or defined by a module not included in the server configuration" when dealing with apache 2.4
To get Apache 2.4 and PHP working again, you will need to use the following commands:
Code: Select all
apt-get install libapache2-mod-php5
You will also need to change these:
Code: Select all
Order Allow,Deny
Allow from apache.org
Deny from foo.apache.org
Code: Select all
Require all denied