From 857a98092efa8e66a4825e1e05af82fe756a5859 Mon Sep 17 00:00:00 2001 From: yodax Date: Tue, 9 May 2017 12:49:19 +0200 Subject: [PATCH] Set the path in the environment to make NextCloud checks happy --- setup/owncloud.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/owncloud.sh b/setup/owncloud.sh index d5fdee78..45cd6ac3 100755 --- a/setup/owncloud.sh +++ b/setup/owncloud.sh @@ -371,6 +371,10 @@ tools/editconf.py /etc/php/7.0/fpm/php.ini -c ';' \ max_execution_time=600 \ short_open_tag=On +# Configure the path environment for php-fpm +tools/editconf.py /etc/php/7.0/fpm/pool.d/www.conf -c ';' \ + env[PATH]=/usr/local/bin:/usr/bin:/bin + # If apc is explicitly disabled we need to enable it if grep -q apc.enabled=0 /etc/php/7.0/mods-available/apcu.ini; then tools/editconf.py /etc/php/7.0/mods-available/apcu.ini -c ';' \