Partner and Community Forums
Windows Cache Extension for PHP
PHP 7.2 and future of WinCache
Re: PHP 7.2 and future of WinCache
May 31, 2019 04:22 AM|lextm|LINK
Readers of such threads should be warned about the history of PHP on IIS. (I blogged about the beginning in my blog post https://blog.lextudio.com/history-of-php-manager-for-iis-7e29bd9828f0)
So in short, bringing PHP to IIS was a move to enable PHP on Windows Azure, now Microsoft Azure. However, the introduction of Azure App Service on Linux recently made it less important to support PHP on IIS.
We already see Microsoft deprecated its efforts on Python on IIS, https://blog.lextudio.com/shifting-to-azure-app-service-on-linux-b216f4584b03 So Windows Python
users should switch to Linux, or they have to maintain components like WFastCGI themselves.
The PHP story is similar, but FastCGI for PHP components are,
So as long as Microsoft ships IIS, and PHP community ships their Windows distribution, you might continue to use PHP on Windows/IIS.
But the components like WinCache has its risks, as they are separate open source projects (just like WFastCGI for Python), https://github.com/php/pecl-caching-wincache/network Microsoft might
stop moving such open source projects forward (as they shifted focus to Azure Linux) one day, so as users of them you should be prepared to take them over,
PHP on Linux is always an option for you, and Microsoft supports PHP on Linux on Azure in many ways.