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
system: CentOS 7 RPM packages: mysql-community-cl...
9 great JavaScript framework scripts for drawing ...
The following code introduces the installation me...
Build the image There are two main ways to build ...
This article example shares the specific code of ...
Syn attack is the most common and most easily exp...
After configuring the tabBar in the WeChat applet...
lsof (list open files) is a tool to view files op...
The establishment of MySQL index is very importan...
<br />This is from the content of Web front-...
Detailed example of clearing tablespace fragmenta...
If MySQL version 5.0 already exists on the machin...
Perhaps when I name this article like this, someon...
Installation environment: CentOS7 64-bit MINI ver...
Table of contents $nextTick() $forceUpdate() $set...