1. Check the PHP version after entering the terminal The output is as follows:
2. Execute the following command to upgrade the software warehouse rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm 3. Execute the following command to delete php yum remove php-common Then it will ask you if you want to continue, just type yes. 4. Install PHP 5.6 (php56w-devel is not required) yum install -y php56w php56w-opcache php56w-xml php56w-mcrypt php56w-gd php56w-devel php56w-mysql php56w-intl php56w-mbstring 5. Restart httpd View the latest version Summarize The above is the method I introduced to you to upgrade the built-in PHP 5.4 of CentOS 7 to 5.6. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Fabric.js implements DIY postcard function
The tutorial for installing OpenStack Ussuri with...
SSH public key authentication is one of the SSH a...
1. Download from the official website and unzip h...
Table of contents Previous 1. What is setup synta...
Translucent border Result: Implementation code: &...
The most important interactive design article in ...
This article introduces blue-green deployment and...
HTML style tag style tag - Use this tag when decl...
Table of contents 1. lazy 2.trim 3.number 4.stop ...
Preface Today, after synchronizing the order data...
Before starting the main text of this article, yo...
1. Environmental preparation: Operating system: C...
This article example shares the specific code for...
Install Required Files Yum install openssl-* -y C...
I don’t know if you have ever encountered such a ...