PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
the problem is that when i run it the stop command is executed but not the start command!
it seem's like the stop command kills the batch file that is working too!
what can i do?
thanks in advance
if ur using windows, try looking into scheduled tasks manager. dunno if you are running this script at a certain time, but you could the scheduler to restart apache at a certain time, which would be a small workaround on this.
the problem is that i can't use scheduled tasks beacuse i dont =know in advance when i need to restart!
what else can i do
?
is there a way to schedule task th will happen in 2 seconds from now?
AVATAr i did both of the!!!!
when i run it from command line or doule click on the link everything works ok
but when i run it from php using the shell_exec it isnt wokring!
it only worked on th batch file with the stop command :
apache -k stop
when i tried
apache -k restart it isnt wokring what else can i do>?
thanks in advance
peleg