Tuesday 27 September 2011

How to start with Php

There are following steps requirements working with Php .

Step 1 :   Download xampp. (Click here )


what is xampp
XAMPP ( or ) is a free and open source cross-platform web server package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages..

After Installation Step.
 2A. http://localhost/xampp/   (Link for creating mysql databases)



2B. Go to installation Xampp folder :


                        I was install xampp in c drive . Then i go to c / xammp /htdocs folder and create folder to run my website . For example my folder name is xyz . To run this website i want to go http://localhost/xyz
when i open the url first index.php file is run .



Create a file name index.php and paste the following code.
 <?php echo "This is my first web page using php";
 ?>

Run browser http://localhost/xyz


Download  php code editor from

In next post we learn to create mysql data base and how we connect using php code.



No comments:

Post a Comment