Skip to Content

Dokter Salim Mulyana

Dokter dan Opreker

Cara Install PHP 7.2 Di Centos 7

Comment
by November 10, 2018 CentOS

Untuk menginstall PHP 7.2 di CentOS 7 lakukan langkah-langkah sebagai berikut:

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum install yum-utils
yum-config-manager --enable remi-php72
yum install php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php-zip php-fileinfo

 

Cek versi PHP yang sudah terinstall

php -v

PHP 7.2.12 (cli) (built: Nov  6 2018 16:40:25) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
Sumber:

How to Install PHP 7 in CentOS 7

Previous
Next