Harmonization

This commit is contained in:
Michael RICOIS 2017-01-25 16:12:36 +01:00
parent 5fff90e581
commit 0a6d7deedb
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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/