Harmonisation avec lamp-trusty64-fpm
This commit is contained in:
parent
18fb98a157
commit
5fff90e581
@ -18,6 +18,7 @@ fi
|
||||
|
||||
# --- Installation Wkhtmltopdf
|
||||
if [ ! -f /usr/local/bin/wkhtmltopdf ]; then
|
||||
sudo apt-get install libxrender1 libfontconfig1
|
||||
wget -q http://download.gna.org/wkhtmltopdf/0.12/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
|
||||
tar xJf wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
|
||||
cp -R wkhtmltox/* /usr/local/
|
||||
@ -92,6 +93,7 @@ if [ ! -f /usr/bin/php ]; then
|
||||
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
|
||||
|
||||
# --- Browscap
|
||||
sudo cp -f $DIRDATA/PHP/php_browscap.ini /etc/php/7.0/fpm/
|
||||
sudo sed -i -e 's/;browscap = extra\/browscap.ini/browscap = \/etc\/php\/7.0\/fpm\/php_browscap.ini/g' /etc/php/7.0/fpm/php.ini
|
||||
|
Loading…
Reference in New Issue
Block a user