note 115610 added to configuration.file

From: Date: Mon, 25 Aug 2014 04:06:12 +0000
Subject: note 115610 added to configuration.file
Groups: php.notes 
Request: Send a blank email to php-notes+get-200310@lists.php.net to get a copy of this message
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. ---- Server IP: 72.52.91.14 Probable Submitter: 181.1.150.213 ---- Manual Page -- http://php.net/manual/en/configuration.file.php Edit -- https://master.php.net/note/edit/115610 Del: integrated -- https://master.php.net/note/delete/115610/integrated Del: useless -- https://master.php.net/note/delete/115610/useless Del: bad code -- https://master.php.net/note/delete/115610/bad+code Del: spam -- https://master.php.net/note/delete/115610/spam Del: non-english -- https://master.php.net/note/delete/115610/non-english Del: in docs -- https://master.php.net/note/delete/115610/in+docs Del: other reasons-- https://master.php.net/note/delete/115610 Reject -- https://master.php.net/note/reject/115610 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#200310) next »