<br><br>
Here are a few basics of what this broad subject has to offer up to any individual who wants <br><br>
to know more about it.<br><br>
When you're developing a website, you require to see it in action on a honest server, to see <br><br>
how it will work. While you could upload your pages to your web mass every time you make a <br><br>
change, this quickly gets time-consuming and tiresome. Wouldn't it be great if you could have <br><br>
a little test server of your own? Well, the server is nothing but a quantity of software so <br><br>
you can! Please note that, for the purposes of this article, I will assume you're with Windows <br><br>
as your operating system.<br><br>
Installing an IIS check Server.<br><br>
While with IIS isn't recommended, a test server is very simple to install. All you require to <br><br>
do is open 'Add or detach Programs' in Windows' regulate panel. All you require to do is click <br><br>
Internet Information army (IIS), click OK, and you're done.<br><br>
What we have explored up to now is the most important information you need to know. Now, lets <br><br>
dig a little deeper.<br><br>
Of course, there are downsides to this. Many versions of Windows don't come with IIS, and <br><br>
there's no way to ensconce it on them Windows XP Professional, for example, comes with IIS, <br><br>
but Windows XP Home does not. You might also want to think that installing IIS on your <br><br>
computer will often make it fewer secure.<br><br>
Installing an Apache check Server.<br><br>
Compared to installing IIS, installing Apache is hard Linux distributions all have relatively <br><br>
simple ways of liability it, but Windows wasn't intended for it. To get Apache installed, <br><br>
then, you're departure to require to have a little fight with the system.<br><br>
Note: If you want to skip all the next steps, you might think with an 'easy installer' report <br><br>
of Apache, such as XAMPP (for Windows), which you can get at <br><br>
www.apachefriends.org/en/xampp-windows.html. The downside to this approach is that you will be <br><br>
relying on them to impart new releases, instead of being able to inform things yourself.<br><br>
First of all, download Apache from http://httpd.apache.org/download.cgi. Make sure you <br><br>
download the Windows Installer (MSI) version. You'll find it easiest to make the server run as <br><br>
a service, as this will make it run automatically Apache will exist in your system tray (in <br><br>
the bottom-right turn of your screen).<br><br>
Now, you require to find your Apache configuration file. In the folder where you installed <br><br>
Apache, look for another folder named 'conf', and then a sand named 'httpd.conf'. Open this <br><br>
sand and look for a setting called DocumentRoot. You should change this to moment to a folder <br><br>
on your hard drive, such as 'c:/html'.<br><br>
Now, you've got Apache, but that's not commonly much good on its own. The odds are that you'll <br><br>
want to ensconce PHP and MySQL as well, so here's how:<br><br>
Download PHP from http://www.php.net/downloads.php. Again, go for the installer. Once you've <br><br>
installed PHP, find its folder, and rename the php.ini-dist sand there to php.ini. Find the <br><br>
'doc_root' setting there, and set it to the same thing you set Apache's to.<br><br>
Back in Apache's httpd.conf, you should add these lines:<br><br>
LoadModule php5_module "c:/php/php5apache2.dll"<br><br>
AddType application/x-httpd-php .php<br><br>
PHPIniDir "c:/php"<br><br>
If you didn't ensconce PHP in c:php, change the outline above to exhibit where you put it.<br><br>
Now, installing MySQL isn't as difficult, because it runs independently of your Apache <br><br>
configuration. Download MySQL from dev.mysql.com/downloads. Again, get the Windows installer <br><br>
version. This installer has a lot of settings, but you'll be punish if you just click Next <br><br>
through them to accept all the defaults.<br><br>
The only remaining measure is to allow MySQL scaffold in PHP. print libmysql.dll sand from <br><br>
c:php to your WindowsSystem32 folder, and then open the php.ini sand you bent before. detach <br><br>
the semicolon from the create of the line that says ';extension=php_mysql.dll', and prevent <br><br>
the file.<br><br>
Shut down Apache and renew it, and you're done!<br><br>
Visiting Your Server.<br><br>
When they've installed a server on their computer, many people miracle how they can access the <br><br>
server they just installed as if they were visiting it over the web. The answer is simple: <br><br>
just open your web browser, and go to this URL: http://localhost (you can also use <br><br>
http://127.0.0.1). This special address means 'the server on this computer'.<br><br>
You'll know if you installed Apache successfully because you'll see a page congratulating you. <br><br>
When you change your web pages, just use your browser's Refresh button to see the effect.<br><br>
If you would like to learn more about this subject, take a look at our wide selection of <br><br>
articles to see if any interest you.<br><br>
<br><br>
To learn more, please visit http://web-development-info.info/<br><br>
Keith Londrie II<br><br>
klondrie @ yahoo.com<br><br>
http://web-development-info.info/<br><br>