Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: where is apachectl in windows? |
|
Author |
|
amishera
Joined: 01 Apr 2010 Posts: 2
|
Posted: Thu 01 Apr '10 23:04 Post subject: where is apachectl in windows? |
|
|
The documentation says this:
"The recommended method of invoking the httpd executable is to use the apachectl control script. This script sets certain environment variables that are necessary for httpd to function correctly under some operating systems, and then invokes the httpd binary. apachectl will pass through any command line arguments, so any httpd options may also be used with apachectl. You may also directly edit the apachectl script by changing the HTTPD variable near the top to specify the correct location of the httpd binary and any command-line arguments that you wish to be always present.
The first thing that httpd does when it is invoked is to locate and read the configuration file httpd.conf. The location of this file is set at compile-time, but it is possible to specify its location at run time using the -f command-line option as in
/usr/local/apache2/bin/apachectl -f /usr/local/apache2/conf/httpd.conf"
But I searched the installation directory ie. c:\program files\apache software foundations\apache2.2\bin
but there was no file name with such name. What is actually going on here? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 02 Apr '10 1:30 Post subject: |
|
|
apachectl is only on Unix
I shall assume by your other post you figured out to call httpd.exe directly. |
|
Back to top |
|
wm003
Joined: 24 Mar 2006 Posts: 88
|
Posted: Wed 07 Apr '10 11:53 Post subject: |
|
|
Or simply install it as a service
httpd.exe -k install |
|
Back to top |
|
|
|
|
|
|