Webservers on Windows - Apache, Mysql and Php Installation
Step Three - Installing Apache
Apache is installed with an msi package - basically you double click the downloaded item and follow the instructions. Below is a step by step walk through the installer. If you already have another server (such as IIS) running on your machine, make sure it’s not currently running - or if it is running that it’s not running on port 80. If you have an earlier version of apache already on your computer, you have to uninstall it first. Annoying, but you’ll live. Make sure you have administrator priviledges, double click to start the installation.

Click Next

This screen is the license agreement, you may want to read the terms, or if you’re like most people Choose I Accept and Click Next

This screen contains some basic information about the apache project. You may wish to read over it to learn more. Click Next

This is the first step where you’re required to enter some information. First of all, it’s preferred that you install for all users as a service - the default setting. If this is a test or development server and will only be used locally, the settings above will work fine. If this is a production server, you should enter the domain name of the server in the top two boxes. For example, google would use google.com and google.com. The administrator’s email address is used on error pages and should be set to an account that is read by the person who will manage the server. After all three text boxes are filled in properly Click Next

If you’re reading this guide, you’re not an advanced user, Typical will be fine Click Next

The default location should work fine, it’s usually a good idea to follow microsoft’s lead and keep your programs in program files. There are a few exceptions to this rule. If you have multiple hard drives and want to keep all your server files on one drive, or if you simply don’t have enough room you can move the location, however windows doesn’t always cooperate. Click Next

You should be all set now. Click Install

Wait patiently while the installation occurs - a command window (black box) may pop up, just ignore it.

The installation is complete. Remember if you have firewall software installed that you must open port 80 to let the server function properly. Click Finish
Now let’s test the installation. Visit your website with a browser. If you used the settings above try http://localhost , otherwise use your domain name. You should see a page like the one below. If you had apache installed previously, your old configuration settings will still be used.

Server Management
If you look on the right side of your taskbar you should see a new icon. If you right click on the feather you should be able to start, stop and restart your server. The is the apache service monitor. If you double click the icon you can open the manager.
. You’ll also find a new item in your programs menu with management, log viewing, and control options. There is still some additional configuration to do for the server, but we’ll wait until after we’ve installed php.

November 28th, 2005 at 9:35 am
We have had to copy libeay32.dll, libmhash.dll, libmysql.dll, ssleay32.dll, yas.dll from php directory to either the apache2 bin directory or windows system32 directory in order for php to find corresponding extensions.
November 28th, 2005 at 10:36 am
Then you didn’t read the directions carefully enough - add the path to the php directory to your path environment variable AND RESTART THE COMPUTER - I know a lot of people say you don’t have to restart after changing PATH but I can’t get that to work on windows XP pro - restarting fixes it. Also if you have problems with php_mysql.dll or php_mysqli.dll make sure the path to libmysql.dll comes BEFORE the path to your php dir in the path variable, otherwise the wrong libmysql.dll will get used.
July 10th, 2006 at 8:35 am
Do you know anything about adjusting the cpu utilization of apache under windows? Some data processing PHP scripts I’ve been running are executing rather slowly, and when I check the task monitor, the CPU usage never goes above 10%rnrnI’d like to see apache use 100% when running these scripts..
August 11th, 2006 at 9:48 pm
Have you a way to connect to PICK/UNIVERSE databases with php?
August 11th, 2006 at 11:02 pm
I don’t know that much about it but according to google theoretically you can connect to PICK/UNIVERSE with an odbc driver - so you’d have to install the driver in windows and create an odbc dsn and connect to it via php’s http://us2.php.net/odbc functions - but no, there is not a native way to connect to that database using php
December 18th, 2006 at 10:34 am
Hi! I setup SSL/TLS on apache 2.0.rnIts working fine apache only listen on 443 port for incoming connections. My question is:rnHow to config apache , for example when user type www.dome.com to automatic redirect him to port 443 and https connection. Now when i use www.domain.com he dont display anything because apache don listen on 80.rnCan you help me, please? Thanx