Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Broke Apache2.4 and can't get PHP working?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
KeiroD
Posts: 61
Joined: Fri Oct 11, 2013 8:35 pm

Broke Apache2.4 and can't get PHP working?
  • Quote

Post by KeiroD » Fri Dec 27, 2013 5:28 am

... 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:

Code: Select all

apt-get install libapache2-mod-php5
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:

Code: Select all

Order Allow,Deny
Allow from apache.org
Deny from foo.apache.org 
To:

Code: Select all

        Require all denied
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
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password