Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

centos update php 7 to php 8

// Thêm kho lưu trữ remi
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm

// Cài đặt PHP 8.0
yum install -y --enablerepo=remi-php80 php php-cli
yum install -y yum-utils
yum-config-manager --enable remi-php80
yum install -y php php-cli
php -v
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #centos #update #php #php
ADD COMMENT
Topic
Name
9+9 =