Allow to extend PHP_INI_SCAN_DIR

Fixes #109383
Master 9fb4d19c2ec8d86439457e4cc10bc12becdc7268
This commit is contained in:
Serhii Zhuravel 2021-06-02 20:25:59 +03:00 committed by Serhii Zhuravel
parent 17c0585cd1
commit c46cf1c4e6
No known key found for this signature in database
GPG Key ID: 2A357BA7DC1C9446
1 changed files with 3 additions and 3 deletions

View File

@ -125,15 +125,15 @@ let
ln -s ${extraInit} $out/lib/php.ini
if test -e $out/bin/php; then
wrapProgram $out/bin/php --set PHP_INI_SCAN_DIR $out/lib
wrapProgram $out/bin/php --prefix PHP_INI_SCAN_DIR : $out/lib
fi
if test -e $out/bin/php-fpm; then
wrapProgram $out/bin/php-fpm --set PHP_INI_SCAN_DIR $out/lib
wrapProgram $out/bin/php-fpm --prefix PHP_INI_SCAN_DIR : $out/lib
fi
if test -e $out/bin/phpdbg; then
wrapProgram $out/bin/phpdbg --set PHP_INI_SCAN_DIR $out/lib
wrapProgram $out/bin/phpdbg --prefix PHP_INI_SCAN_DIR : $out/lib
fi
'';
};