Hi
We have a windows 2012R2 server. We installed everything using the web platform manager.
This included fast cgi as per the instructions
We also installed PHP 5.3. by this method. When we installed it the handler mappings were messed up so we had to manually
alter these. PHP sites need have been running for some time quite happily.
We need to upgrade one site to PHP 5.6 and this seems to be quite straightforward and took a few minutes on our test server.
We did this by downloading PHP manager and PHP 5.6 from the web platform installer.
However on the live server the PHP manager shows a message that Fast CHGI is not enabled
This is not the case as fast cgi is set up and working. We have checked the applicationHost.config file and all the settigns seem correct
<section name="fastCgi" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
<fastCgi>
<application fullPath="C:\Program Files (x86)\PHP\v5.3\php-cgi.exe" monitorChangesTo="php.ini" activityTimeout="600" requestTimeout="600" instanceMaxRequests="10000">
<environmentVariables>
<environmentVariable name="PHP_FCGI_MAX_REQUESTS" value="10000" />
<environmentVariable name="PHPRC" value="C:\Program Files (x86)\PHP\v5.3" />
</environmentVariables>
</application>
<application fullPath="C:\Program Files (x86)\PHP\v5.6\php-cgi.exe" monitorChangesTo="php.ini" activityTimeout="600" requestTimeout="600" instanceMaxRequests="10000">
<environmentVariables>
<environmentVariable name="PHP_FCGI_MAX_REQUESTS" value="10000" />
<environmentVariable name="PHPRC" value="C:\Program Files (x86)\PHP\v5.6" />
</environmentVariables>
</application>
</fastCgi>
<add name="FastCgiModule" image="%windir%\System32\inetsrv\iisfcgi.dll" />
<add name="PHP53_via_FastCGI" path="*.php" verb="GET,HEAD,POST" type="" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.3\php-cgi.exe" resourceType="Either" requireAccess="Script" allowPathInfo="false" preCondition="" responseBufferLimit="4194304"
/>
<add name="PHP_via_FastCGI" path="*.php" verb="GET,HEAD,POST" type="" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.6\php-cgi.exe" resourceType="Either" requireAccess="Script" allowPathInfo="false" preCondition="" responseBufferLimit="4194304"
/>
<add name="FastCgiModule" lockItem="true" />
We would appreciate any advice on how to get this working as we need to be able to choose between php versions.
Kind regards
Jonathan