“Pasang PHP 7.4 Amazon Linux 2” Kode Jawaban

Pasang PHP 7.3 di Amazon Linux 2

sudo yum install -y amazon-linux-extras
sudo  amazon-linux-extras | grep php
sudo amazon-linux-extras enable php7.4
sudo yum install php php7.4-{pear,cgi,common,curl,mbstring,gd,mysqlnd,gettext,bcmath,json,xml,fpm,intl,zip,imap}
Amused Aardvark

Pasang PHP 7.4 Amazon Linux 2

*********************** Change PHP version *****************************
step.1
 sudo yum-config-manager --enable epel
 
yum install dnf -y

step.2
 yum install epel-release yum-utils -y
 
 step.3
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

step.4
dnf install php74.x86_64

step.5
dnf clean metadata

step.6
dnf install php-cli php-pdo php-fpm php-json php-mysqlnd

step.7
dnf list installed php-cli php-pdo php-fpm php-json php-mysqlnd

step.8
which php

step.9
php -v

step.10
yum update

step.11
sudo systemctl restart httpd 

 


 
aniket patil

Jawaban yang mirip dengan “Pasang PHP 7.4 Amazon Linux 2”

Pertanyaan yang mirip dengan “Pasang PHP 7.4 Amazon Linux 2”

Lebih banyak jawaban terkait untuk “Pasang PHP 7.4 Amazon Linux 2” di PHP

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya