Jump to content

Apache 2.2.3


muiz

Recommended Posts


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 by InTheWayBoy
Link to comment
Share on other sites

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...