| Tobias Güntner 2005-09-25, 5:54 pm |
| geskerrett@hotmail.com wrote:
> The binary fails with the following message;
> The Installation wizard was interrupted before Apache HTTP Server
> 2.0.54 could be completly installed.
I once had a similar problem. I couldn't get the installer to work, but
fortunately there is a way to install Apache without the installer
(well, sort of). Open a command prompt and run
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. 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.
That task should be straightforward; just use the "replace all" feature
in your favourite text editor to replace all @@-variables with something
meaningful.
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
net start apache2
to start Apache immediately.
HTH
Tobias
|