How to Install Apache,MySQL and PHP - part 3

step 7

Now , we can start develop our site in PHP.

Your document root is under /var/www/html.

Let's check whether we successfully configure apache. Open /var/www/html/main.php in favorite editor and enter the following content:

 <?php
 php_info()

step 8

Now, access http://work/main.php in your webbrowser. You should see the familiar page: