PHP 7.x / PECL / Choco / WebPIRSS

4 replies

Last post Sep 07, 2018 09:14 PM by vjardin

  • PHP 7.x / PECL / Choco / WebPI

    Sep 07, 2018 11:06 AM|vjardin|LINK

    What is the best and most stable option to install PHP and its extension ?

    For instance, I am trying to get a PHP compiler on Windows:

      https://github.com/nanosonde/bcgen/commit/8058819f00e428bb4e9ded36d65516e1cc8b7e5c

    Then, there are many options:

      PECL distributions

      WebPI https://www.microsoft.com/web/downloads/platform.aspx

      chocolatey https://chocolatey.org/

    I am lost about the "supported"/"best"/"recommended" way of getting a stable and production environnent for PHP. Down the road, should we keep using WebPI ? Or should we keep using PECL ? Or Chocolatey https://chocolatey.org/packages/php ?

    The issue with WebPI is the lack of automation for deployments.

    Thanks,

      Vincent

  • Re: PHP 7.x / PECL / Choco / WebPI

    Sep 07, 2018 12:00 PM|lextm|LINK

    If your goal is to use a modern platform, then WebPI is less likely to be the one.

    The term "supported" is subjective, as you need to be clear who supports you and how first. For an open source project like PHP, you need to find a vendor with commercial support, or you go back to free and unreliable community support. Commercial support of course will guide you on their "supported" or "recommended" way of installing.

    PECL and Chocolatey generally speaking are more up-to-date with good community support. WebPI core infrastructure hasn't been upgraded for years, and it starts to show its age.

    Lex Li
    IIS Consulting Services at https://support.lextudio.com/services/consulting.html
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: PHP 7.x / PECL / Choco / WebPI

    Sep 07, 2018 07:46 PM|vjardin|LINK

    Thanks. Do you mean that Microsoft is giving up WebPI ?!

    From "support" point of view on PHP itself, of course, the as-is and community contributions is fully understood. I am just wondering about the deployment framework that should prefered and is recommended by Microsoft.

    best regards,

      Vincent

  • Re: PHP 7.x / PECL / Choco / WebPI

    Sep 07, 2018 08:41 PM|lextm|LINK

    vjardin

    I am just wondering about the deployment framework that should prefered and is recommended by Microsoft.

    A few years, Microsoft recommended PHP on IIS, but nowadays it is obviously PHP on Azure,

    https://azure.microsoft.com/en-us/develop/php/

    Web PI was created to promote PHP and other frameworks on IIS a few years ago, and I think their missions have been accomplished.

    Lex Li
    IIS Consulting Services at https://support.lextudio.com/services/consulting.html
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: PHP 7.x / PECL / Choco / WebPI

    Sep 07, 2018 09:14 PM|vjardin|LINK

    Azure is great but it cannot be used for some private deployments. So, if Azure is not used, what is the best option and deploy some IIS extensions such as PHP ?