CentOS 6.5 安装 php-fpm

环境:CentOS 6.5 64bit

PHP版本:5.3.3


1.从yum查找可用的php-fpm


[root@localhost nginx]# yum list | grep php-fpm
php-fpm.x86_64                          5.3.3-49.el6              base

2.使用yum install安装php-fpm

[root@localhost nginx]# yum install php-fpm
[root@localhost 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
[root@localhost 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.

    原文作者:Do-Program
    原文地址: https://blog.csdn.net/u014558668/article/details/79174999
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞