[php-src] PR #13742: Implement configure command visibility option for phpinfo
| From: | petk | Date: | Mon, 18 Mar 2024 06:08:26 +0000 |
| Subject: | [php-src] PR #13742: Implement configure command visibility option for phpinfo | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25458@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13742
Author: petk
This introduces a new --disable-configure-command option to optionally suppress the display of the
configure command in the phpinfo() output:
./configure --disable-configure-command
When building PHP, many packages have patches to hide the PHP build configure command and its
options in the phpinfo() output:
Configure Command: './configure' '--enable-foo' 'CFLAGS=...'
'...'
This simplifies the PHP build process for package maintainers who prefer more concise phpinfo()
output without detailed build configuration.
The CONFIGURE_COMMAND symbol remains defined in the configuration headers (main/build-defs.h for
*nix, main/config.w32.h for Windows) regardless of this option.
By default the configure command and options are displayed as before.