Created
May 9, 2017 17:48
-
-
Save spudro228/4fb75461e8fae8802f1b6c5e0fe62071 to your computer and use it in GitHub Desktop.
Install php in CentOS 7
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
yum update -y | |
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm | |
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm | |
yum install php70w | |
OR | |
yum install php70w-common php70w-fpm-nginx php70w-pecl-apcu | |
php70w-bcmath php70w-devel php70w-fpm php70w-gd php70w-ldap php70w-mbstring php70w-mcrypt php70w-odbc php70w-pdo php70w-pear php70w-pecl-memcache php70w-process php70w-snmp php70w-soap php70w-tidy php70w-xml php70w-xmlrpc php70w-cli php70w-mysqlnd | |
# php70w-pecl-apcu and php70w-pecl-apc is diferent things. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment