title: Can PHP restart Apache?
body: <p>I have a local server which needs to make changes to a virtual hosts apache config file and then restart apache so the new config takes effect.</p>
  
  <p>Can PHP do this? I tried passthru and exec but they didn't work. Maybe the problem is that I'm trying to restart PHP's parent process?</p>
  
  <p>Thanks for any help!!</p>