Browse Source

fix bug

main
xiaoz 4 years ago
parent
commit
d8aacebdc9
  1. 1
      php/install.sh

1
php/install.sh

@ -35,6 +35,7 @@ function set_php() {
#install xdebug and redis #install xdebug and redis
pecl install redis-5.1.1 \ pecl install redis-5.1.1 \
&& pecl install xdebug-2.8.1 \ && pecl install xdebug-2.8.1 \
&& pecl install imagick \
&& docker-php-ext-enable redis xdebug gd imagick && docker-php-ext-enable redis xdebug gd imagick
sed -i "s/www-data/www/g" /usr/local/etc/php-fpm.d/www.conf sed -i "s/www-data/www/g" /usr/local/etc/php-fpm.d/www.conf
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*

Loading…
Cancel
Save