View Complete Thread
  • 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,

    • FastCGI support as part of IIS.
    • PHP-CGI as part of PHP Windows distribution.

    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,

    • If the most recent release (2.0.0.8) fails for a future PHP release (7.3?) or future Windows releases
    • Or if Microsoft publishes a similar announcement to deprecate its PHP components for Windows

    PHP on Linux is always an option for you, and Microsoft supports PHP on Linux on Azure in many ways.

    Lex Li
    Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.