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