Jika suatu saat apache anda ngadat, dan nggak mau parsing script php. Coba cara perikut....
Since it's a conffile, it's possible that it's not installed with the upgrade. To fix that purge it and then install it again:
sudo apt-get purge libapache2-mod-php5
sudo apt-get install libapache2-mod-php5
To enable PHP, you have to run:
sudo a2enmod php5
Restart the webserver after:
sudo /etc/init.d/apache2 restart
source:
http://askubuntu.com/questions/59272/php-not-working-in-apache2-after-system-upgrade
No comments:
Post a Comment