diff --git a/lamp-xenial64-fpm/bootstrap.sh b/lamp-xenial64-fpm/bootstrap.sh index 3aac72e..137e3d8 100644 --- a/lamp-xenial64-fpm/bootstrap.sh +++ b/lamp-xenial64-fpm/bootstrap.sh @@ -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