install php7.2

This commit is contained in:
sengweitoo
2018-06-22 15:57:22 +08:00
parent 0447481f33
commit cc95347a40
+3 -2
View File
@@ -11,7 +11,8 @@ apt-get install git libcurl4-gnutls-dev libicu-dev libmcrypt-dev libvpx-dev libj
# Compile PHP, include these extensions.
# docker-php-ext-install mbstring mcrypt pdo_mysql curl json intl gd xml zip bz2 opcache
apt-get install php7.2-cli php7.2-fpm php7.2-curl php7.2-gd php7.2-mysql php7.2-mbstring zip
sudo apt-get upgrade
sudo apt-get install php7.2-cli php7.2-fpm php7.2-curl php7.2-gd php7.2-mysql php7.2-mbstring zip
# Install Composer and project dependencies.
@@ -31,4 +32,4 @@ php artisan config:clear
php artisan optimize
# Run database migrations with seeder
php artisan migrate:refresh --seed
php artisan migrate:refresh --seed