Wednesday, May 4, 2016

Setting PHP Server Offline

This tutorial will be a quick one describing on how to set-up your own server on your computer using WAMP server.

WAMPServer stands for Windows Apache MySQL PHP Server.

It is a Windows environment that allows you to develop web applications using PHP and MySQL on your machine. This is a good way of testing website projects or developments offline without using any hosting services just yet.

After installing/configuring your WAMPServer, you will now be able to develop your own web applications.

Here are the instructions:

1. First is to download the WAMP Server:

    The latest at this time of writing is WAMPServer 64bit & PHP 5.6.15 & PHP7:
           Click to Download for 64 bit machines and


    WAMP Server 32bit & PHP 5.6.15:
           Click to Download.
 
2. Installing the Server:

    Installation is easy, you just have to open the installer file you downloaded then follow the instructions, click Next

  After that, you will be redirected to the kicense agreement, select "I accept the agreement" and click     Next.

Next, you will be directed to the window where you select the installation path, decide anywhere you like. I usually prefer to use data directory (e.g. D:\wamp) just in case of system failures, you can always retrieve your data in the data directory.

Click Next several times then click install. Just follow the next instruction that will pop-up if there are any and wait until the installation is finished.

3. Testing The Server

Now that you have installed the server, let's go and test it.
Make sure that the server is running by checking your tray icons like below
Make sure it's green. If it doesn't appear in your tray, just run it from your Start Menu.
After checking that it's running, let's test it.

Go to your web browser and type on the address bar "localhost". You shoud now see the server configuration page like this:


That's it! Your server is up and running!...

Next tutorial will be writing your own test page...

Enjoy guys..Hope this helps...


No comments:

Post a Comment