Wednesday, 8 November 2017

HOW TO SETUP A XAMP SERVER ON LOCAL COMPUTER

Xapmp is combination of Local Apache server comes with Php and MySQL and bunch of other good things. To get started click Xamp. This will open a new window on your browser which looks like this image below. I am going to click on XAMPP for windows as i am running windows machine.

This is quite a big file 109MB more or less depending on which year you are downloading as they might update the website at any point. Go ahead install the application. It may take sometime. Click finish which open the XAMPP control panel.
Now you want to install Apache and MySQL as a service. So click on the Red X next to the module.
If you get a pop up, click access and then you can see both the services are active.
You can perhaps take a look at the services.
Goto services windows. If you don't know how to do that, just Press (windows key + R) and type services.msc hit enter.
In the list above you could see services shown as Apache and MySql which are both in Automatic startup type. That means it will start automatically. Don't worry if you don't see these two in the list. Just go to Xampp control panel and start the service.

Now you have to find all the folder where you want put all our files like HTML or Php is in 
C: drive/xampp/htdoc  this link is just like your files n any other server.
Now Goto a web browser and just type localhost and hit enter, it will redirect you to Xamp control-panel.
There is something you want to know. Even though this is a local server there is not too much risk involved in it but i would say try learning this too.

No comments:

Post a Comment