Upgrading php under CentOS65

WBOY
Release: 2016-08-08 09:21:01
Original
1277 people have browsed it

When I deployed the cloud server environment recently, I used the CentOS 6.5 system, which used php.5.3.3 by default. However, this is a bit slow, so I tried to upgrade it.

The following methods are from the Internet and have been tested and available

1. Remove previously installed php related files

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
Copy after login

2. Install rpm

rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
Copy after login

3. Install php5.5

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
Copy after login

The above introduces the upgrade of PHP under CentOS65, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!