From 6feae3e402d42ebb07ea5fd56cd6b81ff705eef3 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Mon, 10 Oct 2016 11:55:30 +0200 Subject: [PATCH] Correction path fichier ini pour php7 --- lamp-xenial64-fpm/bootstrap.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lamp-xenial64-fpm/bootstrap.sh b/lamp-xenial64-fpm/bootstrap.sh index b1de09f..162187a 100644 --- a/lamp-xenial64-fpm/bootstrap.sh +++ b/lamp-xenial64-fpm/bootstrap.sh @@ -83,10 +83,10 @@ then then sudo sed -i -e 's/max_execution_time = 30/max_execution_time = 300/g' /etc/php/7.0/fpm/php.ini sudo sed -i -e 's/short_open_tag = Off/short_open_tag = On/g' /etc/php7.0/fpm/php.ini - sudo sed -i -e 's/;mbstring.internal_encoding = UTF-8/mbstring.internal_encoding = UTF-8/g' /etc/php7.0/fpm/php.ini - sudo sed -i -e 's/;date.timezone =/date.timezone = Europe\/Paris/g' /etc/php:7.0/fpm/php.ini - sudo sed -i -e 's/post_max_size = 8M/post_max_size = 50M/g' /etc/php:7.0/fpm/php.ini - sudo sed -i -e 's/upload_max_filesize = 2M/upload_max_filesize = 50M/g' /etc/php:7.0/fpm/php.ini + sudo sed -i -e 's/;mbstring.internal_encoding = UTF-8/mbstring.internal_encoding = UTF-8/g' /etc/php/7.0/fpm/php.ini + sudo sed -i -e 's/;date.timezone =/date.timezone = Europe\/Paris/g' /etc/php/7.0/fpm/php.ini + sudo sed -i -e 's/post_max_size = 8M/post_max_size = 50M/g' /etc/php/7.0/fpm/php.ini + sudo sed -i -e 's/upload_max_filesize = 2M/upload_max_filesize = 50M/g' /etc/php/7.0/fpm/php.ini sudo sed -i -e 's/session.gc_maxlifetime = 1440/session.gc_maxlifetime = 86400/g' /etc/php/7.0/fpm/php.ini sudo sed -i -e 's/;opcache.enable=0/opcache.enable=1/g' /etc/php:7.0/fpm/php.ini sudo cp -f $DIRDATA/PHP/xdebug.ini /etc/php/7.0/mods-available/xdebug.ini