How to upgrade php5.3 to php5.4, php5.5, and php5.3php5.4. How to upgrade php5.3 to php5.4 or php5.5. php5.3php5.4 today, we will mainly introduce you to installing php 5.4 or 5.5 using yum. How to upgrade php5.3 to php5.4, php5.5, and php5.3php5.4
This article describes how to use yum to install php version 5.4 or 5.5. Of course we use centos6.5 as our testing machine. In fact, it is very simple, as long as the following two commands can easily install php 5.4.
The code is as follows:
Yum remove php-bcmath php-cli php-common php-devel php-fpm
Php-gd php-imap php-ldap php-mbstring php-mcrypt php-mysql php-odbc php-pdo php-pear php-pecl-igbinary php-xml php-xmlrpc
Rpm-Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
Yum install php54w php54w-bcmath php54w-cli php54w-common php54w-devel php54w-fpm php54w-gd php54w-imap php54w-ldap php54w-mbstring php54w-mcrypt php54w-mysql php54w-odbc php54w-pdo php54w-pear php54w-pecl-igbinary
Of course, you can add or delete extensions as needed. for php5.5 installation, it is similar to php5.4 installation.
The code is as follows:
Yum remove php-bcmath php-cli php-common php-devel php-fpm php-gd php-imap php-ldap php-mbstring php-mcrypt php-mysql php-odbc php -pdo php-pear php-pecl-igbinary php-xml php-xmlrpc
Rpm-Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
Yum install php55w php55w-bcmath php55w-cli php55w-common php55w-devel php55w-fpm php55w-gd php55w-imap php55w-ldap php55w-mbstring php55w-mcrypt php55w-mysql php55w-odbc php55w-pdo php55w-pear php55w-pecl-igbinary
The above content is all described in this article and I hope you will like it.
Today, we will use this php technical article to describe how to use yum to install php version 5.4 or 5.5 ....