Skip to content

Instantly share code, notes, and snippets.

@nguyentienlong
Created February 28, 2020 04:05
Show Gist options
  • Save nguyentienlong/5c567e787333c9aa31a37406b7eabbf2 to your computer and use it in GitHub Desktop.
Save nguyentienlong/5c567e787333c9aa31a37406b7eabbf2 to your computer and use it in GitHub Desktop.
php72 installation centos
$ 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
$ sudo subscription-manager repos --enable=rhel-7-server-optional-rpms
$ sudo yum-config-manager --enable remi-php72
$ sudo yum update
$ sudo yum search php72 | more
$ sudo yum install php72 php72-php-fpm php72-php-gd php72-php-json php72-php-mbstring php72-php-mysqlnd php72-php-xml php72-php-xmlrpc php72-php-opcache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment