From cc95347a406f6c834a103aef90db3f195afe5e26 Mon Sep 17 00:00:00 2001 From: sengweitoo Date: Fri, 22 Jun 2018 15:57:22 +0800 Subject: [PATCH] install php7.2 --- .gitlab-ci.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.sh b/.gitlab-ci.sh index f9dd19b6..eea17d81 100644 --- a/.gitlab-ci.sh +++ b/.gitlab-ci.sh @@ -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 \ No newline at end of file +php artisan migrate:refresh --seed