Where is PHP version setting installed

Jul 30, 2012 at 4:05 PM

We distribute a PHP application that includes a command line upgrader that upgrades the software by replacing files.

A customer is reporting that everytime they run this upgrade script; the version of PHP that have configured to run for this folder is changed to a different PHP version.

Initially we thought this maybe because the PHP version is specified in the web.config file (which we overwrite) but this does not seem to be the case. So, where is the configured PHP version for a particular folder stored - and can you think of any way that overwriting files on the web server could be resetting this value?

Thanks very much.

Chris