Getting Started with Apache 1.3 Page 6
Beyond that you're on your own, as building Apache on Windows is not exactly a 'getting started' topic! You can find more (possibly outdated) information on the Apache site at <URL:http://www.apache.org/docs/windows.html>.
On Unix systems, you use the
apachectl script to
manage the Web server. This script typically lives in the
bin/ subdirectory under the ServerRoot. If Apache
has been installed according to the assumptions
made by this article, that means you should shut the server down
with a command like this:
# /usr/local/web/apache/bin/apachectl stop
If this doesn't work, the alternative is to locate the master
httpd process and send it a SIGTERM signal.
apachectl failed, you should check
with someone about how to proceed -- not that there's any
danger, just that it can be confusing unless you're familiar
with Unix and process management tools.
On Windows, you can either stop a running Apache server process by choosing the Stop Apache item from the Apache Web Server programme group, or by issuing the following in a DOS window:
C:\Program Files\Apache Group\APACHE>apache -k stop
If you have previously installed the Apache Web server on your Windows system, it is a good idea -- a very good idea, in fact -- to uninstall it before upgrading, or even re-installing the same version.
To deinstall Apache from your system, choose the Add/Remove Programs control panel item. You should be able to get this from the task bar by choosing Start->Settings->Control Panel and double-clicking on the Add/Remove Programs icon.
Apache should be one of the applications available to remove. Select it, and click on the Add/Remove... button.
How you install the Apache Web server software depends on your platform and the type of package you downloaded. For example, the Windows installation is a simple point-and-click operation; for Unix it can be a little more complex.
This is perhaps the simplest option of all. Once you've acquired the RPM file (which you have to get from some other location than the Apache distribution site; the Apache Software Foundation doesn't distribute RPM files), you can just 'make it so' by being logged in as root and issuing the following command from the directory where the Apache RPM file is located:
# rpm -Uvh apache*
Of course, this may or may not install the source tree, and probably won't put files into the same directories as assumed by this article -- you'll need to find out the differences and make adjustments.