
Emad Mohamed Hossam ElDin - 2008-12-02 16:36:59
Hello,
How do I restart Apache webserver on a Windows 2003 Server through PHP? I tried:
passthru("PATH/TO/APACHE/httpd.exe -k restart");
but it doesn't restart, although when trying through command line it restarts successfully, I also tried "exec" and "system" but didn't work..
Any help will be greatly Appretiated