Home > Backend Development > PHP Tutorial > yum install php54 or 55

yum install php54 or 55

WBOY
Release: 2016-07-29 09:13:00
Original
1447 people have browsed it

Use yum to install version 5.4 or 5.5 of php

Use centos6.5 as the test machine.

The following two commands can easily install the 5.4 version of php

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

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

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

php5.5 installation

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

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

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 installation of php54 or 55 with yum, 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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template