Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Omar Khalid 3m1o

🏠
Working from home
View GitHub Profile
@3m1o
3m1o / gist:1d5a98c8515d3f51944ecc75b5bc05ae
Created Mar 2, 2021
install php composer latest version on amazon linux 2
View gist:1d5a98c8515d3f51944ecc75b5bc05ae
sudo curl -sS https://getcomposer.org/installer | sudo php
sudo mv composer.phar /usr/bin/composer
@3m1o
3m1o / gist:633381d724609539078f09b8979928e3
Created Mar 2, 2021
install php 7.4 on amazon linux 2
View gist:633381d724609539078f09b8979928e3
sudo yum install -y amazon-linux-extras
sudo yum install php-cli php-pdo php-fpm php-json php-mysqlnd php-xml php-json php-mbstring php-redis php-opcache
sudo yum install php php-{pear,cgi,common,curl,mbstring,gd,mysqlnd,gettext,bcmath,json,xml,fpm,intl,zip,imap}