Merge pull request #114173 from eyJhb/php-clisupport-false

php: fixed building with cliSupport = false
This commit is contained in:
Elis Hirwing
2021-03-27 17:08:43 +01:00
committed by GitHub

View File

@@ -124,7 +124,9 @@ let
postBuild = ''
ln -s ${extraInit} $out/lib/php.ini
wrapProgram $out/bin/php --set PHP_INI_SCAN_DIR $out/lib
if test -e $out/bin/php; then
wrapProgram $out/bin/php --set 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