title: Is it possible to launch a php script at apache startup?
body: <p>As the title says, I want to know if it is be possible to automatically launch a PHP script when a restart of apache is done.</p>
  
  <p>MORE INFO EDIT: </p>
  
  <p>I will try to explain what is the purpose of this, the best I can. We are currently refactoring our application and we'll be stuck with 2 differents configuration file system for the time being, until all of the application flows are refactored (might take more than a year). The old one is using simple flat file in the key=value format (i.e. www.conf), while the new system will use cacheable php files (i.e. www.php). We need to replicate to www.php any config changes made in www.conf. </p>
  
  <p>Since Apache gets restarted whenever there is a config change in www.conf, I thought it might be a good workaround solution to launch a PHP script, that would replicate the www.conf to www.php.</p>