ajvitw
Last Updated: February 25, 2016
·
1.237K
· purak
Fe0a1519fcf6d2efd7f1a0bbc20660d2

Error: PHP is not running

The other day, I installed PHP and Apache server on my Ubuntu(raring) box to play with Wordpress.

But I met the following error when I ran Wordpress installation script:

Error: PHP is not running

OMG!

I use $HOME/public_html directory to serve Wordpress. So the issue is related that.

To fix that, open /etc/apache2/mods-enabled/php5.conf file and find the following block:

<IfModule mod_userdir.c>
   <Directory /home/*/public_html>
       php_admin_value engine Off
   </Directory>
</IfModule>

And comment these lines then restart the server.

service apache2 restart
Say Thanks
Respond