Set the path in the environment to make NextCloud checks happy

This commit is contained in:
yodax 2017-05-09 12:49:19 +02:00
parent 03f1aff0cf
commit 857a98092e
1 changed files with 4 additions and 0 deletions

View File

@ -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 ';' \