Skip to content

Instantly share code, notes, and snippets.

@ihor
Last active April 25, 2021 16:47
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ihor/581d169886c29e7e17d01b0041167b01 to your computer and use it in GitHub Desktop.
Save ihor/581d169886c29e7e17d01b0041167b01 to your computer and use it in GitHub Desktop.
Install PHP 7.1 on Amazon Linux
sudo su
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm
yum-config-manager --enable remi-php71
wget ftp://195.220.108.108/linux/epel/6/x86_64/scl-utils-20120229-1.el6.x86_64.rpm
rpm -Uvh scl-utils-20120229-1.el6.x86_64.rpm
yum install php71 -y
@vanerleo
Copy link

vanerleo commented Oct 4, 2018

need to run

yum -y install scl-utils

before php install

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