Skip to content

Instantly share code, notes, and snippets.

@troscoe
Created March 24, 2016 14:39
Show Gist options
  • Save troscoe/236de7c457042d63541a to your computer and use it in GitHub Desktop.
Save troscoe/236de7c457042d63541a to your computer and use it in GitHub Desktop.
Install PHP 7 on AWS EC2 Linux Instance
sudo su
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
yum install -y php70w php70w-opcache php70w-cli php70w-gd php70w-intl php70w-mbstring php70w-mysql php70w-pdo php70w-soap php70w-xml php70w-xmlrpc php70w-pspell php70w-mcrypt
yum install -y aspell aspell-en cvs memcached mysql mysql-server mod22_ssl
sudo /sbin/chkconfig mysqld on
sudo /sbin/service mysqld start
sudo /sbin/chkconfig httpd on
sudo /sbin/service httpd start
mysql_secure_installation
@troscoe
Copy link
Author

troscoe commented Mar 24, 2016

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