Description
I updated PHP 8.4.15 to 8.5.0 IIS on Windows Server 2022
When I open the first PHP site it works, after opening the first site all other sites throw html error 500
After restarting the ISS server I can again open 1 random site on the server after this other previously working sites again report same HTML error 500
Resulted in this output:
Detailed Error Information:
Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP-850
Error Code 0xfffffffe
Requested URL [https://domain.com:443/phpinfo.php](https://domain.com/phpinfo.php)
Physical Path I:\inetpub\domain.com\www\phpinfo.php
Logon Method Anonymous
Logon User Anonymous
But I expected this output instead:
Multiple sites working on the same server
PHP Version
PHP 8.5.0 (cli) (built: Nov 18 2025 08:16:50) (NTS Visual C++ 2022 x64)
Copyright (c) The PHP Group
Zend Engine v4.5.0, Copyright (c) Zend Technologies
with Zend OPcache v8.5.0, Copyright (c), by Zend Technologies
Operating System
Microsoft Windows Server 2022 Datacenter [10.0.20348] - Visual C++ 2022
Observation PHP < 8.5.0 is starting in taskmanager multiple instances of CGI / FastCGI where PHP 8.5.0 is only starting 1
FastCGI settings for PHP 8.5.0 is C:\PHP\php-cgi.exe max. Instances 4 Instance Max. Requests 1000
Disabling all extensions does not change anything.
Tested with:
php-8.5.0-nts-Win32-vs17-x64.zip
php-8.5.0-Win32-vs17-x64.zip
php-8.5.0-nts-Win32-vs17-x86.zip
php-8.5.0-Win32-vs17-x86.zip
All result in the same behavior
My temporary solution is changing the Application Pool Identity from NetworkService to ApplicationPoolIdentity don't know if this is the right way to solve the issue?
Description
I updated PHP 8.4.15 to 8.5.0 IIS on Windows Server 2022
When I open the first PHP site it works, after opening the first site all other sites throw html error 500
After restarting the ISS server I can again open 1 random site on the server after this other previously working sites again report same HTML error 500
Resulted in this output:
But I expected this output instead:
PHP Version
Operating System
Microsoft Windows Server 2022 Datacenter [10.0.20348] - Visual C++ 2022
Observation PHP < 8.5.0 is starting in taskmanager multiple instances of CGI / FastCGI where PHP 8.5.0 is only starting 1
FastCGI settings for PHP 8.5.0 is C:\PHP\php-cgi.exe max. Instances 4 Instance Max. Requests 1000
Disabling all extensions does not change anything.
Tested with:
php-8.5.0-nts-Win32-vs17-x64.zip
php-8.5.0-Win32-vs17-x64.zip
php-8.5.0-nts-Win32-vs17-x86.zip
php-8.5.0-Win32-vs17-x86.zip
All result in the same behavior
My temporary solution is changing the Application Pool Identity from NetworkService to ApplicationPoolIdentity don't know if this is the right way to solve the issue?