Get the App
SLTechnology News&Howtos  ›  Servers  › 

The operation method of installing PHP7.2 in CentOS7yum

Shulou Source: shulou.com Published: 2022-06-02 03:39:32 10月04日 Update

1. If it has been installed before, let's uninstall it first.

Yum-y remove php*

2. Since php7.x does not exist in the yum source of linux, we need to change the yum source

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

3. Install php72w and various extensions for yum, and choose what you need.

Yum-y install php72w php72w-cli php72w-common php72w-devel php72w-embedded php72w-fpm php72w-gd php72w-mbstring php72w-mysqlnd php72w-opcache php72w-pdo php72w-xml

The above CentOS7yum installation PHP7.2 operation method is the editor to share with you all the content, I hope to give you a reference, but also hope that you support more.

Tags: Method content that is reference support Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info OPPO Reno Docker Shulou Technology macOS