Upgrade and install PHP 5.5 in yum in Linux
System Environment:
- CentOS 6.4 x86_64
- Fedora 20 x86_64
If the source of PHP already exists in Fedora 20, run the following command to install it:
# yum install php-fpm php-common php-devel php-mysqlnd php-mbstring php-mcrypt
The following describes how to install PHP in CentOS: add an epel Source
# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Add remi Source
# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Install PHP
# yum --enablerepo=remi,remi-php55 install php-fpm php-common php-devel php-mysqlnd php-mbstring php-mcrypt
View PHP version
# php -vPHP 5.5.9 (cli) (built: Feb 11 2014 08:25:33) Copyright (c) 1997-2014 The PHP GroupZend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
Start php-fpm
# service php-fpm startStarting php-fpm: [ OK ]
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: