muiz Posted October 1, 2006 Share 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? Link to comment Share on other sites More sharing options...
muiz Posted October 3, 2006 Author Share Posted October 3, 2006 Am i the only one with apache? Link to comment Share on other sites More sharing options...
InTheWayBoy Posted October 3, 2006 Share 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 Link to comment Share on other sites More sharing options...
xillibit Posted October 3, 2006 Share Posted October 3, 2006 Try /etc/init.d/httpd start Link to comment Share on other sites More sharing options...
muiz Posted October 3, 2006 Author Share 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 Link to comment Share on other sites More sharing options...
Zxian Posted October 8, 2006 Share 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. Link to comment Share on other sites More sharing options...
muiz Posted October 9, 2006 Author Share 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. Link to comment Share on other sites More sharing options...
ajua Posted October 11, 2006 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now