Skip to content

Commit e1cb164

Browse files
authored
Create aws-composer-php_.2-modules.sh
1 parent 4c45f9b commit e1cb164

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

aws-composer-php_.2-modules.sh

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#Composer installation
2+
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
3+
php -r "if (hash_file('sha384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
4+
php composer-setup.php
5+
php -r "unlink('composer-setup.php');"
6+
sudo cp composer.phar /usr/bin/composer
7+
8+
# Add Module for Laravel > 5.7
9+
sudo apt-get -y install php7.2-pdo
10+
sudo apt-get -y install php7.2-mbstring
11+
sudo apt-get -y install php7.2-tokenizer
12+
sudo apt-get -y install php7.2-xml
13+
sudo apt-get -y install php7.2-curl
14+
sudo apt-get -y install php7.2-cli
15+
sudo apt-get -y install php7.2-dev
16+
sudo apt-get -y install php7.2-gd
17+
sudo apt-get -y install php7.2-intl
18+
sudo apt-get -y install php7.2-mcrypt
19+
sudo apt-get -y install php7.2-json
20+
sudo apt-get -y install php7.2-opcache
21+
sudo apt-get -y install php7.2-bcmath
22+
sudo apt-get -y install php7.2-soap
23+
sudo apt-get -y install php7.2-zip
24+
sudo apt-get -y install php7.2-sqlite
25+
sudo apt-get -y install php7.2-mysql
26+
sudo apt-get -y install php7.2-dom
27+
sudo apt-get -y install php7.2-ext-mbstring
28+
sudo apt-get -y install unzip

0 commit comments

Comments
 (0)