I want to check whether my LAMP server is successfully running and install for this I write a code in terminal given below:-

I write following code in it:-



<title>Test PHP Programe</title></head>



<?php echo 'Hello word !' ?>



When I write "http://localhost" in browser
"It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet."

When I write "http://localhost/test.php" for test the file name test.php

The page is blank , there should be those code which I written in test.php file. But it shown nothing.

need help!

Show more