Hope you know what is PHP and who developed it etc like things. We don’t need such thing to learn PHP but when we start with any thing we want to know at least some general basic things regarding the topic.
For beginning our PHP study we need to setup a Web server on our local computer. We want to install the following applications to our system
- APACHE SERVER (web Server)
- PHP ( Server Side Scripting Language)
- MYSQL (Database )
- PhpMyAdmin ( Database Managment Application)
It is little difficult to install these software separately, so we can install them with the help of server package programs available in various sites with free of cost.
Please go to one of the below links to get the WAMP program – ( Windows Apache MySql PHP) or XAMPP – X indicates Cross platform all other letters are same as before and last additional P indicates Perl it is also a programming language.
Please Download Wamp or Xammp using the below links according to the configuration of PC
Hope you are downloaded the program and installed it by double clicking it. if you need any help for installing the above please free to contact me.
If you chose WAMP we will get a folder named wamp in the hard disk drive you installed our server program. Otherwise xampp is your folder name. Open it by double clicking it we will get a folder named www in wamp and htdocs in xampp. Friends This is our root folder, We are putting our files here to execute.
Write you First php code ( Save it in the folder php/index.php )
<?php echo "hello world!";
Call the code from url