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
Table of contents 1. Background 2. What is a virt...
Preface: The group by function retrieves the firs...
Table of contents 1. Introduction 1. Component da...
Table of contents 1. MySQL 8.0.18 installation 2....
1. First, let’s have a general introduction to th...
Table of contents Problem Description Front-end c...
The program is executed sequentially from top to ...
Currently, layui officials have not provided the ...
The explain command is the primary way to see how...
This article summarizes the implementation method...
Table of contents Function Introduction Rendering...
Table of contents 1. Project Description 1.1 Back...
Through the study and application of Node, we kno...
A friend in the group asked a question before, th...
Due to work reasons, it is often not possible to ...