muiz Posted October 1, 2006 Posted October 1, 2006 I made a admin install on Apache 2.2.3 and it installs.But how do i install the service and start it?
InTheWayBoy Posted October 3, 2006 Posted October 3, 2006 (edited) 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: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 Edited October 3, 2006 by InTheWayBoy
muiz Posted October 3, 2006 Author Posted October 3, 2006 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: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 Posted October 8, 2006 Posted October 8, 2006 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 Posted October 9, 2006 Author Posted October 9, 2006 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.
ajua Posted October 11, 2006 Posted October 11, 2006 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now