• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Input Specify the `PHP_BUILD_PROVIDER` environment variable when compiling PHP

TimTideways

New Pleskian
Since PHP 8.0, PHP provides the PHP_BUILD_PROVIDER variable to indicate the “origin” of a PHP binary:


The contents of this variable shows up in the PHPInfo output and since PHP 8.4 it also shows up when running php -v (using the example of the PHP docker image):

Code:
root@3238e47e74fb:/# php -v
PHP 8.4.5 (cli) (built: Mar 17 2025 23:15:40) (NTS)
Copyright (c) The PHP Group
Built by https://github.com/docker-library/php
Zend Engine v4.4.5, Copyright (c) Zend Technologies

Since Plesk is the provider of the PHP packages / the PHP binaries when running Plesk, it would make sense for Plesk to specify the PHP_BUILD_PROVIDER variable when building PHP. This would provide some advertising to Plesk and it would help simplifying support for other projects, including PHP itself, since knowing that the user runs PHP with Plesk allows to provide directed support, for example with regard to file system paths / directory structure.

Please find the following resources for further context:
 
Back
Top