1. 程式人生 > >CentOS 6.5 安裝 php-fpm

CentOS 6.5 安裝 php-fpm

環境:CentOS 6.5 64bit

PHP版本:5.3.3

1.從yum查詢可用的php-fpm

[[email protected] nginx]# yum list | grep php-fpm
php-fpm.x86_64                          5.3.3-49.el6              base
2.使用yum install安裝php-fpm
[[email protected] nginx]# yum install php-fpm
[[email protected] nginx]# whereis php-fpm
php-fpm: /usr/sbin/php-fpm /etc/php-fpm.d /etc/php-fpm.conf /usr/share/man/man8/php-fpm.8.gz
[[email protected] nginx]# php-fpm -v
PHP 5.3.3 (fpm-fcgi) (built: Mar 22 2017 12:28:05)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.1.1, Copyright (c) 2002-2016, by ionCube Ltd.