An update to my first post about my Apache wizard error
thanks to fatbull of FudForum for providing the partial instructions.
Before starting this manual installation, be sure to make some necessary changes to the following.
1 - be sure to start the Windows Installer service
2 - kill all Antivirus, Firewall, Windows Firewall and other security programs
3 - clean your windows temp folder
4 - check if there’s an older version of Apache installed
5 - check if you have the latest Microsoft Windows Installer.
1 - msiexec /a apache_2.0.54-win32-x86-no_ssl.msi
The installer will ask for a “network location”. Enter any path you like
there, e.g. c:\temp. The installer extracts some files into
c:\temp\program files\Apache Group\Apache2. This folder contains an
almost complete Apache distribution. Note that there is no httpd.conf
yet.
2 - Go to the conf directory and rename httpd-win.conf to httpd.conf.
This file won’t work as it still contains a few variables (e.g.
@@ ServerRoot @@ ) that need to be replaced. Usually the installer does
that job, but since we’re not using it we have to do that outselves.
3 - That task should be straightforward; just use the “replace all” feature
in your favourite text editor to replace all @@ -variables with something
meaningful.
4 - Next, go to the bin directory and run
apache -k install
This will install Apache as a service so it will start automatically
with Windows. Run
Pitbull did’nt mentioned something about the following errors I encountered.
Error in: Port Number
Solution: Set port number to 80
Error: logs directory cannot be found
Solution: under C:\Program Files\Apache Group\Apache2 create a folder name it “logs”
Run net start apache2 or type services.msc and start the service manually.
Error: [Sat Dec 10 10:47:53 2005] [error] (OS 2)The system cannot find the file specified. : could not open mime types config file C:/Program Files/Apache Group/Apache2/conf/mime.types.
Solution: Go to C:\Program Files\Apache Group\Apache2\conf, rename mime.types.default to mime.types
Now it works showing this log entry
[Sat Dec 10 10:48:49 2005] [notice] Apache/2.0.54 (Win32) configured — resuming normal operations