Add the following in /etc/apache2/apache2.conf post enable PHP script
#Add user directory for php usage
<IfModule mod_userdir.c>
<Directory /home/*/public_html>
php_admin_value engine On
</Directory>
</IfModule>
Add the following in /etc/apache2/apache2.conf post enable PHP script
#Add user directory for php usage
<IfModule mod_userdir.c>
<Directory /home/*/public_html>
php_admin_value engine On
</Directory>
</IfModule>