diff --git a/lamp-trusty64-fpm/bootstrap.sh b/lamp-trusty64-fpm/bootstrap.sh index 59e6420..d966d1a 100644 --- a/lamp-trusty64-fpm/bootstrap.sh +++ b/lamp-trusty64-fpm/bootstrap.sh @@ -90,7 +90,7 @@ if [ ! -f /usr/bin/php5 ]; then # Pool user sudo sed -i -e 's/user = www-data/user = vagrant/g' /etc/php5/fpm/pool.d/www.conf sudo sed -i -e 's/group = www-data/group = vagrant/g' /etc/php5/fpm/pool.d/www.conf - sudo sed -i -e 's/listen.group = www-data/listen.group = www-data/g' /etc/php5/fpm/pool.d/www.conf + sudo sed -i -e 's/listen.group = vagrant/listen.group = www-data/g' /etc/php5/fpm/pool.d/www.conf # --- Browscap sudo cp -f $DIRDATA/PHP/php_browscap.ini /etc/php5/fpm/ @@ -179,5 +179,3 @@ sudo a2ensite $VHOSTS # --- Restart apache sudo service apache2 restart - -sudo usermod -a -G www-data vagrant diff --git a/lamp-xenial64-fpm/bootstrap.sh b/lamp-xenial64-fpm/bootstrap.sh index 137e3d8..953a70e 100644 --- a/lamp-xenial64-fpm/bootstrap.sh +++ b/lamp-xenial64-fpm/bootstrap.sh @@ -92,7 +92,7 @@ if [ ! -f /usr/bin/php ]; then # Pool user sudo sed -i -e 's/user = www-data/user = ubuntu/g' /etc/php/7.0/fpm/pool.d/www.conf sudo sed -i -e 's/group = www-data/group = ubuntu/g' /etc/php/7.0/fpm/pool.d/www.conf - sudo sed -i -e 's/listen.group = www-data/listen.group = www-data/g' /etc/php/7.0/fpm/pool.d/www.conf + sudo sed -i -e 's/listen.group = ubuntu/listen.group = www-data/g' /etc/php/7.0/fpm/pool.d/www.conf # --- Browscap sudo cp -f $DIRDATA/PHP/php_browscap.ini /etc/php/7.0/fpm/