Partner and Community Forums
PHP 7.x / PECL / Choco / WebPI
Last post Sep 07, 2018 09:14 PM by vjardin
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:
Then, there are many options:
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.
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.
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.
Sep 07, 2018 08:41 PM|lextm|LINK
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,
Web PI was created to promote PHP and other frameworks on IIS a few years ago, and I think their missions have been accomplished.
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 ?