How to run your own web server continued ARTICLE 2
Ok, now you have finished downloading the software mentioned on Article 1.
Find out what your pc's internal ip address my clicking on my network places>view net work connections>LAN and looking at the 'details' box on the left. Write this down e.g 192.168.1.100
Note, please ensure that any anti-virus programs are disabled while you are installing these programs, or the installations may not finish correctly.
Unzip the contents of php.zip to a folder named c:/php
Install the Mysql database server software by running the installer.
Install the apache web server software, when the installer asks for a IP address or server address, give it an address similar to this: http://192.168.0.194 (whatever the ip address you wrote down) and use your email address for admin contact. Restart the system . Check to see if the Apache server is running by typing in the following into your web broswer: http://localhost/ If you see "It works" in your browser window, that means that the apache web server is running. There will also be a small icon in the lower right hand corner of the screen stating whether the apache service is running. If you have problems, be sure to check the apache error log to trouble shoot.
The above gives you total control over the configuration, and you know what exactly you are doing. If you break some code, you can easily fix it. The only downside is that Apache, Php and Mysql have to be manually installed, which takes more time.
If you want a quick web server with above features, you can download WAMP or XAMP. Try googling for each of them. In my opinion WAMP is easier to setup then XAMP and emulates a real production environment.
Post a Comment