Tuesday, February 11, 2014

PHP for newbies(Part 1) – steps for how to browse the first PHP page?



Step ONE: To Understand browser server
What’s Web Http Server?
Its delivery the HTML document in the public from web server to client via the Internet for using HTTP (Hypertext Transfer Protocol).

What’s Apache Http Server?
Apache is a web application to preview the initial web page before to browse on the Internet.

Step TWO: Download Apache package software
Download the package that includes phpmyadmin, mysql database and apache server. Download from MAMP(for Mac), WAMP(for windows) or XAMPP(for multi platform); these are all free!

Step THREE: Move the file to DocumentRoot directory
MAMP/XAMPP IS “HTDOCS”FOLDER; WAMP IS USING WWW FOLDER.
**Watch the tutorial video!

Step FOUR: Turn on the Apache server
Click "start all" button of your apache server manager and waiting all the light turns green, that means ready for the localhost server.

Step FIVE: Run your 1st PHP page
put "localhost/yourphppage.php" or "http://localhost/yourphppage.php" into the browser search bar. 

No comments:

Post a Comment