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
commit 2ed44fa49c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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