Merge pull request #125405 from dxops/patch-1

php/generic: Allow to extend PHP_INI_SCAN_DIR
This commit is contained in:
Kim Lindberger 2021-06-14 16:09:17 +02:00 committed by GitHub
commit 642d926dd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,15 +124,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
'';
};