Simple PHP script to turn on/off xdebug and restarting Apache