i want to have perl script which start and stop the apache server when i execute the script or any command to start and stop the apache server.
your help will be highly appreciated..
We would
absolutely be glad to help, but as was said in the postings of another question about 2 days ago, this is not a script writing service. If you could post the code that you have already tried, including of course how you need to stop and start apache, we could take a look and point you in the right direction.
Of course, if a script to start and stop apache depending on how the script was triggered (ie: with a start or stop option) is all that you need, then a little $$$ would get your script written for you for sure, but that would be something on the side and you would have to PM regarding it.
Other than that though, please post the code you have tried and we shall take a look.
Regards,
Jeff