Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to upgrade php5.6 to 7.2.7

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to upgrade php5.6 to 7.2.7, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's learn about it!

[root@localhost hdwiki] # yum list installed | grep php

Repository epel is listed more than once in the configuration

Repository epel-debuginfo is listed more than once in the configuration

Repository epel-source is listed more than once in the configuration

Php56w.x86_64 5.6.36-1.w7 @ webtatic

Php56w-cli.x86_64 5.6.36-1.w7 @ webtatic

Php56w-common.x86_64 5.6.36-1.w7 @ webtatic

Php56w-gd.x86_64 5.6.36-1.w7 @ webtatic

Php56w-intl.x86_64 5.6.36-1.w7 @ webtatic

Php56w-mbstring.x86_64 5.6.36-1.w7 @ webtatic

Php56w-mcrypt.x86_64 5.6.36-1.w7 @ webtatic

Php56w-mysql.x86_64 5.6.36-1.w7 @ / php56w-mysql-5.6.36-1.w7.x86_64

Php56w-opcache.x86_64 5.6.36-1.w7 @ webtatic

Php56w-pdo.x86_64 5.6.36-1.w7 @ webtatic

Php56w-xml.x86_64 5.6.36-1.w7 @ webtatic

Yum remove php56w-cli.x86_64 php56w-common.x86_64 php56w-gd.x86_64 php56w-intl.x86_64 php56w-mbstring.x86_64 php56w-mcrypt.x86_64 php56w-mysql.x86_64 php56w-opcache.x86_64 php56w-pdo.x86_64 php56w-xml.x86_64

Rpm-Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm

Rpm-Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

Yum install-y php72w php72w-opcache php72w-xml php72w-mcrypt php72w-gd php72w-devel php72w-mysql php72w-intl php72w-mbstring

Php-v

Php5.6 upgrade 7.2 connection database error

Call to undefined function mysqli_init ()

Add

Yum install-y php72w-pdo

Yum install-y php72w-mysql-7.2.16-1.w7.x86_64.rpm

The above is all the contents of the article "how to upgrade php5.6 to 7.2.7". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report