How to set the php5.5 version: 1. Open the terminal command window; 2. Install php5.5 through the "yum install php55w php55w-bcmath php55w-cli php55w-common php55w-devel..." command. Can.
The operating environment of this article: centos6.5 system, PHP5.5 version, DELL G3 computer
How to set the php5.5 version ? How to upgrade php5.3 version to php5.4 or php5.5?
Today our PHP technical article mainly introduces to friends how to use yum to install PHP version 5.4 or 5.5. Of course we use centos6.5 as our test machine.
In fact, it is very simple. You can easily install version 5.4 of PHP with the following two commands.
The code is as follows:
yum remove php 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 php54w-xml php54w-xmlrpc php54w-opcache php54w-intl php54w-pecl-memcache
Of course, if it is extended, you can add or delete it according to your own needs. As for the installation of php5.5, it is similar to the installation of php5.4. .
The code is as follows:
yum remove php 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 php55w-xml php55w-xmlrpc php55w-opcache php55w-intl php55w-pecl-memcache
The above content is all described in this article, I hope you all like it.
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of How to set php5.5 version. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Notepad++7.3.1
Easy-to-use and free code editor
