mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 09:04:12 +02:00
fix custom php.ini, again
This commit is contained in:
parent
4f6b1fbd9b
commit
cead37fae7
4 changed files with 12 additions and 10 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue