How can I restart apache from PHP? I have some code that creates vhost entries and I need to restart apache to make the vhost live.
Thanks, jnuneznyc
Just send it a restart signal - not sure how stable it is - but I tested it and it worked!
exec("C:\Apache\apache.exe -k restart");