feat: improve PHP config (#266)
* feat: improve PHP config Tweak PHP config according to Blackfire's recommendation. * Update docker/php/conf.d/symfony.prod.ini Co-authored-by: Jacob Dreesen <jacob@hdreesen.de> * fix * fix Co-authored-by: Jacob Dreesen <jacob@hdreesen.de>
This commit is contained in:
@@ -7,11 +7,9 @@ if [ "${1#-}" != "$1" ]; then
|
||||
fi
|
||||
|
||||
if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
|
||||
PHP_INI_RECOMMENDED="$PHP_INI_DIR/php.ini-production"
|
||||
if [ "$APP_ENV" != 'prod' ]; then
|
||||
PHP_INI_RECOMMENDED="$PHP_INI_DIR/php.ini-development"
|
||||
ln -sf "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini"
|
||||
fi
|
||||
ln -sf "$PHP_INI_RECOMMENDED" "$PHP_INI_DIR/php.ini"
|
||||
|
||||
mkdir -p var/cache var/log
|
||||
|
||||
|
||||
Reference in New Issue
Block a user