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

fix custom php.ini, again

This commit is contained in:
Robin Appelman 2026-02-25 19:29:55 +01:00
commit cead37fae7
4 changed files with 12 additions and 10 deletions

View file

@ -4,12 +4,12 @@ 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
echo "# xdebug.mode = debug" >> /php.ini
echo "# xdebug.start_with_request = yes" >> /php.ini
chmod 0777 /php.ini
echo "# Options in here overwrite the builtin php.ini" > /config/php.ini
echo "# xdebug.mode = debug" >> /config/php.ini
echo "# xdebug.start_with_request = yes" >> /config/php.ini
chmod 0777 /config/php.ini
PHP_INI_DIR="$(php --ini | grep 'Scan' | cut -d ' ' -f7)"
ln -s /php.ini "$PHP_INI_DIR/zz_extra.ini"
ln -s /config/php.ini "$PHP_INI_DIR/zz_extra.ini"
HAZE_UID=${HAZE_UID:-www-data}
HAZE_GID=${HAZE_GID:-www-data}