Description of problem:
According to http://php.net/manual/en/install.fpm.configuration.php, there is
the clear_env setting for PHP-FPM - starting with PHP 5.4.27. Given RHEL ships
an ancient PHP version by default, this option is unfortunately missing. For
some projects this leads to the result that each environment variable needs to
be explicitly set using 'env[foo] = bar' in the PHP-FPM configuration.
Version-Release number of selected component (if applicable):
Everytime, see above and below.
PHP 5.4.16 in RHEL 7 without the clear_env option at PHP-FPM.
PHP 5.4.x in RHEL 7 with the clear_env option at PHP-FPM.
Created attachment 1237075 [details]
Patch suggestion (as a backport) resulting from the difference between
php-5.4.26.tar.gz and php-5.4.27.tar.gz.
Cross-filed case 01766894 on the Red Hat customer portal.
Any chance to get this tiny patch into RHEL 7.5? :)
Added documentation for release notes, as worth to be mentioned there.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.