Skip to content

Instantly share code, notes, and snippets.

@tecmaverick
Last active June 25, 2020 09:56
Show Gist options
  • Save tecmaverick/dbccb98270c5e1db22aaf649f72f60d5 to your computer and use it in GitHub Desktop.
Save tecmaverick/dbccb98270c5e1db22aaf649f72f60d5 to your computer and use it in GitHub Desktop.
Installing PHP7 AWS Cloud9
$ sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
$ sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
$ sudo yum install yum-utils -y
$ sudo yum update
$ sudo yum remove php*
$ sudo yum remove httpd*
$ sudo yum clean all
$ sudo yum upgrade -y
$ sudo yum install httpd24
$ sudo yum install php72 php72-mysqlnd php72-imap php72-pecl-memcache php72-pecl-apcu php72-gd
$ php -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment