Created
March 24, 2016 14:39
-
-
Save troscoe/236de7c457042d63541a to your computer and use it in GitHub Desktop.
Install PHP 7 on AWS EC2 Linux Instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reference: https://webtatic.com/packages/php70/