How to upgrade the php version installed by default yum

藏色散人
Release: 2023-03-02 11:20:01
Original
3329 people have browsed it

The method to upgrade the php version installed by yum is: first set the yum source; then use the command "yum list | grep php" to view; then execute the command "yum -y install php56w" to install a higher version of php. Can.

How to upgrade the php version installed by default yum

CentOS7.2yum installation php default version is 5.4, you can upgrade to install a higher version through yum

Setting yum source

rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
Copy after login

 View

yum list |grep php
Copy after login

Install a higher version of php

yum -y install php56w
Copy after login

For more related knowledge, please visitPHP Chinese website!

The above is the detailed content of How to upgrade the php version installed by default yum. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!