Install PHP on yum in CentOS
Install PHP on yum in CentOS
Add yum Source
CentOS 6.x Source
# Rpm-Uvh http://download.Fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# Rpm-Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Source of CentOS 7.x
# Rpm-Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
# Rpm-Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
Install PHP
# Yum install -- enablerepo = remi, remi-php56 php-opcache php-pecl-apcu php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof php-pdo php-pear php-fpm php-cli php-xml php-bcmath php-process php-gd php-common
Note: Install Version 5.6 As a remi-php56 and Install Version 5.5 As a remi-php55
View PHP version
# Php-v
PHP 5.6.18 (cli) (built: Feb 3 2016 10:25:33)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
With Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
With Xdebug v2.3.3, Copyright (c) 2002-2015, by Derick Rethans
Deep understanding of ini configuration in PHP
Analyze the timeout mechanism of PHP scripts
Build a PHP development environment under Ubuntu 14.04 PDF
PHP 7 innovation and Performance Optimization
PHP 7, you deserve it
Experience PHP 7.0 on CentOS 7.x/Fedora 21
Install LNMP in CentOS 6.3 (PHP 5.4, MyySQL5.6)
Nginx startup failure occurs during LNMP deployment.
Ubuntu install Nginx php5-fpm MySQL (LNMP environment setup)
Detailed php hd scanning PDF + CD source code + full set of teaching videos
Configure the php lnmp development environment in CentOS 6
PHP details: click here
PHP: click here
This article permanently updates the link address: