Harmonization
This commit is contained in:
parent
5fff90e581
commit
0a6d7deedb
@ -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
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user