Jump to content
xisto Community
Sign in to follow this  
stevey

Restarting Apache With Exec Command apache restart

Recommended Posts

Hey im trying to restart apache throug a script and so far none of the php or perl scripts have worked and its just driving me mental restarting apache in the command window in windows is a simple as just typing apache -k restartand when i do that i works , but when i create a script to execute that command it fails, and when i try to create a script to execute a batch file that does exactly that it still fails, so im stranded will someone help me out please, coz this is really getting annoying.

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.