I am new to LAMP in my Ubuntu 15.04. I just installed the LAMP stack and to get my php info, I made testphp.php which has the following code...
<?php
phpinfo();
?>
I placed the file in /var/www/html .
The http://localhost is working fine but not the testphp.php .
I tried to access the testphp.php by going to http://localhost/testphp.php but my output is simply the code in the testphp.php and not the php informtion.
So as far as I have realised, php is not properly configured with the apache server.
Either ways, how do i solve this?