If PHP module is not enabled by default in your apache version, you can enable it your self. Use the “a2enmod” command followed by php5 to enable it.
1 2 3 | $ a2enmod php5 |
After enabling the php module, you must restart the apache server to reflect the changes.
1 2 3 | $ /etc/init.d/apache2 restart |