1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

make it easier to change php configuration

This commit is contained in:
Robin Appelman 2026-02-06 23:55:06 +01:00
commit 4bb6a21d7c
6 changed files with 71 additions and 0 deletions

View file

@ -4,6 +4,11 @@ touch /var/log/nginx/access.log
touch /var/log/nginx/error.log
touch /var/log/cron/owncloud.log
echo "# Options in here overwrite the builtin php.ini" > /php.ini
chmod 0777 /php.ini
PHP_INI_DIR="$(php --ini | grep 'Scan' | cut -d ' ' -f7)"
ln -s /php.ini "$PHP_INI_DIR/zz_extra.ini"
HAZE_UID=${HAZE_UID:-www-data}
HAZE_GID=${HAZE_GID:-www-data}