How to upgrade php5.3 to php5.4 or php5.5 or php5.3php5.4 _ PHP Tutorial

Source: Internet
Author: User
Tags imap mcrypt
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 ....

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.