Saturday, 26 October 2013

STARTING PHP

To start work in PHP you are required to an editor to write code for that we can use Adobe Dreamweaver, Notepad etc. Then you are required to host your PC on the network i.e. with the help of various servers you can use it i.e. WAMP, XAMPP servers can be used.
Difference between the two is that XAMPP is cross platform i.e. it can work on both Windows and Linux environments. But WAMP is only for windows platform.
You can install any of these of two, they are freeware software

Installation of WAMP Server Guide 2


First we need to download exe file from WAMP server site.
Once downloaded, run that exe file. You will get the below window.
Then you need to proceed with the following steps.

Step - 1

You will see a standard setup wizard of windows after clicking Run button on security warning dialog.














Step - 2

You have to agree the license of WampServer before selecting Installation destination at your windows machine.
















Step - 3

I am going to install WampServer in C drive. Now you can click on Next button after selecting installation location for WampServer 2.1d.















Step - 4

I have interested to create any icon in the above locations, but you can do. You will be at “Ready  to Install” window after clicking Next button.















Step - 5

Setup is now ready to begin installing WampServer 2.1d on Your computer. Click on Install button to start installation of WampServer  2.1d.














Step - 6

Now your WampServer is starting to install in your computer.















Step - 7

After allowing access to Apache server, you are at SMTP server configuration dialog. You can specify the SMTP server and the address mail to be used by PHP when using the function mail(). I will recommend the following values,















Step - 8

You have successfully installed WampServer 2.1 d along with Apache, MySql, PHP, phpMyAdmin and SqlBuddy at your computer.

Click “Finish” to start WampServer along with other services.  Leave “Launch WampServer 2 now” check-box checked to start WampServer automatically after installation.















Step - 9

Then you can access your local wamp server by typing http://localhost in your browser. You have to save all the project files in /wamp/www/directory in your system to run it. You can run it in browser by typing the url http://localhost/your_projectname .









Step - 10

You have successfully installed WampServer on your computer if you have seen the welcome screen of WampServer. You can read Server Configuration at WampServer welcome screen.

No comments:

Post a Comment