1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 09:04:12 +02:00

add common php option to example

This commit is contained in:
Robin Appelman 2026-02-17 00:07:37 +01:00
commit f7b7c1bf37

View file

@ -5,6 +5,8 @@ touch /var/log/nginx/error.log
touch /var/log/cron/owncloud.log touch /var/log/cron/owncloud.log
echo "# Options in here overwrite the builtin php.ini" > /php.ini 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 chmod 0777 /php.ini
PHP_INI_DIR="$(php --ini | grep 'Scan' | cut -d ' ' -f7)" PHP_INI_DIR="$(php --ini | grep 'Scan' | cut -d ' ' -f7)"
ln -s /php.ini "$PHP_INI_DIR/zz_extra.ini" ln -s /php.ini "$PHP_INI_DIR/zz_extra.ini"