Skip to content

Commit 32d73ed

Browse files
committed
Added the installation php 7.2 and dependencies
1 parent d105469 commit 32d73ed

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

setup.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ echo "* Installing PHP 7.1..."
2828
sudo apt-get install -y php7.1 php7.1-common php7.1-cli > /dev/null
2929

3030
echo "* Installing PHP 7.1 extensions..."
31-
sudo apt-get install -y php7.1-gd php7.0-mysql php7.1-sqlite3 php7.1-soap php7.1-xsl php7.1-json php7.1-opcache php7.1-mbstring php7.1-readline php7.1-curl php7.1-mcrypt php7.1-xml php7.1-zip > /dev/null
31+
sudo apt-get install -y php7.1-gd php7.1-mysql php7.1-sqlite3 php7.1-soap php7.1-xsl php7.1-json php7.1-opcache php7.1-mbstring php7.1-readline php7.1-curl php7.1-mcrypt php7.1-xml php7.1-zip > /dev/null
32+
33+
echo "* Installing PHP 7.2..."
34+
sudo apt-get install -y php7.2 php7.2-common php7.2-cli > /dev/null
35+
36+
echo "* Installing PHP 7.2 extensions..."
37+
sudo apt-get install -y php7.2-bz2 php7.2-curl php7.2-gd php7.2-json php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-readline php7.2-soap php7.2-sqlite3 php7.2-sodium php7.2-tidy php7.2-xml php7.2-xsl php7.2-zip > /dev/null
3238

3339
echo "* Installing additional PHP extensions..."
3440
sudo apt-get install -y php-memcache php-memcached > /dev/null

0 commit comments

Comments
 (0)