note 115610 deleted from configuration.file by cmb

From: Date: Mon, 02 Aug 2021 16:53:42 +0000
Subject: note 115610 deleted from configuration.file by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-216721@lists.php.net to get a copy of this message
Note Submitter: Nacho Esviza - ignacio at esviza dot com ---- This solution works for me when I needed to force two diferent versions of PHP on a Windows Server 2012 r2 & IIS: For one application, map *.php extension to a CgiModule adding the "-c" option to the executable path, like this: "C:\php53\php-cgi.exe -c C:\php53\php.ini" For the other application, map *.php extension to a CgiModule adding the "-c" option to the executable path, like this: "C:\php54\php-cgi.exe -c C:\php54\php.ini" I think that way is the cleanest, because there is no need to work with PATH variable or Registry or Windows directory. Note: for some reason, this didn't work on FastCGI module, related to the way that IIS set the executable tab not allowing command line options.

« previous php.notes (#216721) next »