Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save spudro228/4fb75461e8fae8802f1b6c5e0fe62071 to your computer and use it in GitHub Desktop.
Save spudro228/4fb75461e8fae8802f1b6c5e0fe62071 to your computer and use it in GitHub Desktop.
Install php in CentOS 7
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