Skip to content

Instantly share code, notes, and snippets.

@gayanvirajith
Last active December 4, 2020 04:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gayanvirajith/a2efd695ef31f7d3ce49dcc46628ebca to your computer and use it in GitHub Desktop.
Save gayanvirajith/a2efd695ef31f7d3ce49dcc46628ebca to your computer and use it in GitHub Desktop.
Amazon linux 1 and 2- php 7.2 installations

Amazon Linux 1

sudo yum update
sudo yum install php72 php72-cli php72-xml php72-json php72-mbstring php72-process php72-common php72-fpm php72-zip php72-mysqlnd vim

Amazon Linux 2

sudo amazon-linux-extras enable php7.2
sudo yum install php-cli php-xml php-json php-mbstring php-process php-common php-fpm php-zip php-mysqlnd vim -y

Check php version in command prompt

php --version

References & Credits

https://medium.com/@hbayraktar/how-to-install-laravel-5-on-amazon-linux-2-303ef2d38fa4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment