I have upgraded from PHP 5.3 to PHP 5.5 (Im running Ubuntu 12.04) By removing the PHP and re-install the 5.5 version and everything worked fine during the installation, now when i open my localhost and try to open any website on my localhost it doesn't execute index.php but it download the index.php as a text file. i restarted Apache2 and saw this posts
nginx localhost is downloading php files in browser, instead of serving them? and localhost doesn't execute php files after update to Maverick/Yosemite OS but it doesn't help.
Help would be appreciated,
Thanks.