apache not parsing php files


I installed package libapache2-mod-php5 but apache2 still does not interpret php files as such and simply offer to download them.


PHP module may not be enabled. Run

sudo ln -s /etc/apache2/mods-available/php5.* /etc/apache2/mods-enabled

Then restart apache:

sudo /etc/init.d/apache2 restart

F5 and your file should be served properly

Post a Comment

Your email is never published nor shared. You're allow to say what you want...