Only displays PHP language after LAMP Stack installation

October 8, 2014 2.1k views

I did the LAMP Stack Installation and the last step was to create a info.php file with the code

phpinfo();
?>```

That would display my PHP info page. Only displays the language PHP on the browser. How do I get display the PHP result?
3 comments
1 Answer

This question was answered by @kamaln7:

Is mod_php installed?

sudo apt-get install libapache2-mod-php5
sudo service apache2 restart

View the original comment

Have another answer? Share your knowledge.