Restart Apache from PHP

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Restart Apache from PHP

Postby Shane N » 26. February 2008 23:44

Is there any way to restart apache directly from PHP? I tried exec("C:\xampp\xampp_restart.exe"); and it ends up stopping apache, but not restarting it. I also tried exec("C:\xampp\apache\bin\apache.exe -k restart"); and it didn't seem to do anything. I have permissions set to allow apache to access these files.
Shane N
Posts: 1
Joined: 26. February 2008 23:42

Return to XAMPP for Windows

Who is online

Users browsing this forum: shoulders and 56 guests