Help - Search - Members - Calendar
Full Version: Apache 2.2.3
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
muiz
I made a admin install on Apache 2.2.3 and it installs.

But how do i install the service and start it?
muiz
Am i the only one with apache? sad.gif
InTheWayBoy
Nope, I use it...but only on linux.

Update - Misunderstood the problem, now should be what you want.

I think you'll need to create a script to handle all this. Using your administrative install, your script would be something like this:

CODE
RunWait(msiexec /i "apache2.msi")

RunWait(httpd -k install "servicename")

RunWait(httpd -k start)


That is using the AutoIt syntax, but almost all scripting languages have the RunWait function. You wouldn't want to install the service until after it's installed, so that's why it's important.

"servicename" should become the simple name that the service is called in windows. You can leave that option out to accept the defaults.

I pulled most of this info from the apache documentation:

http://httpd.apache.org/docs/2.2/platform/...ows.html#winsvc
xillibit
Try /etc/init.d/httpd start
muiz
QUOTE (InTheWayBoy @ Oct 3 2006, 07:53 PM) *
Nope, I use it...but only on linux.

Update - Misunderstood the problem, now should be what you want.

I think you'll need to create a script to handle all this. Using your administrative install, your script would be something like this:

CODE
RunWait(msiexec /i "apache2.msi")

RunWait(httpd -k install "servicename")

RunWait(httpd -k start)


That is using the AutoIt syntax, but almost all scripting languages have the RunWait function. You wouldn't want to install the service until after it's installed, so that's why it's important.

"servicename" should become the simple name that the service is called in windows. You can leave that option out to accept the defaults.

I pulled most of this info from the apache documentation:

http://httpd.apache.org/docs/2.2/platform/...ows.html#winsvc


I tried that before , but after entering windows it will not start
Zxian
Try installing something like WAMP or XAMPP. They've got Apache ready to go, right out of the box, and they're very easy to use and configure. Both of them need some configuration to make them web-safe though. You can read through their FAQs for more info.
muiz
QUOTE (Zxian @ Oct 8 2006, 08:03 PM) *
Try installing something like WAMP or XAMPP. They've got Apache ready to go, right out of the box, and they're very easy to use and configure. Both of them need some configuration to make them web-safe though. You can read through their FAQs for more info.


THX i will give it a try.
elajua
im myself looking to try XAMPP one of this days as i need a web server with PHP and MySQL. thanks for the tip. i saw it before but didnt get the chance to install it. will try it soon.
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.