The tutorial I am presenting is how to run your windows computer as a local server.I was trying to figure out how php works yesterday and I was interested on how to setup my own local server and finally found a solution so hence today I am going to teach you how to run your computer as a local server. Before that let’s see what are the benefits of using local server
PS: If you are into web development you will understand the terms better.
1. No internet required for doing projects.
2. Fast and reliable than working online.
3. Developers learn easy with coding. Trail and Error with codes (html, asp, php etc).
4. You can save your web servers bandwidth.
5. All of your data remains private and secure.
6. And final one its completely free.
Here you go, how to set up a local server?
There are many software’s to set up a local server like wamp, XAMPP, easy-php and so on which is an web server package for your local computer. Here i will discuss it with WAMP server (Microsoft windows, Apache web server, MySQL, PHP)
Web desgining people might be familiar with these softwares.
Step 1
Go to http://www.wampserver.com/en/ and download WampServer.
Step 2
Now install wamp server to your pc. When installing it asks for a php mail parameters leave that one default and click next, then it asks for default web browser select it, click next and install. After installation open wamp server.
How to run your computer as a local server - wamp setup   How to run your computer as a local server - wamp setup
Step 3
An W icon will show up in task bar. one thing about that icon when its red; server is off, when its green; server in on.
wamp in taskbar
Step 4
left click on that icon and click local host it will open in your default browser ( that you have chosen during installation process)
Step 5
You can open your localhost with this default ip address 127.0.0.1, you can directly open in your browser by entering 127.0.0.1
How to run your computer as a local server - server configuration
How to run your computer as a local server - server configuration
How to run your computer as a local server - server configuration
That’s it you have almost done, in the browser you can see you your projects and your aliases. In aliases just click phpmyadmin where you can add, edit, and remove your MySQL database. A login screen opens enter the username as root which is a default one(leave the password field blank) and click go. You are now ready with your local server.

0 comments:

Post a Comment

 
Top