码迷,mamicode.com
首页 > Web开发 > 详细

php-fpm 的安装与测试

时间:2016-05-17 00:45:00      阅读:250      评论:0      收藏:0      [点我收藏+]

标签:

1. 下载并安装PHP

1.1 编译安装

安装前的准备

 1 [root@test /opt/soft]# wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/csbuild:/centosextra/CentOS_CentOS-6/x86_64/libmcrypt-devel-2.5.8-4.3.x86_64.rpm
 2 [root@test /opt/soft]# wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/csbuild:/centosextra/CentOS_CentOS-6/x86_64/libmcrypt-2.5.8-4.3.x86_64.rpm
 3 
 4 [root@test /opt/soft]# rpm -ivh libmcrypt-*
 5  warning: libmcrypt-2.5.8-4.3.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 04b8b50a: NOKEY
 6  Preparing...                ########################################### [100%]
 7     1:libmcrypt              ########################################### [ 50%]
 8     2:libmcrypt-devel        ########################################### [100%]
 9 
10 [root@test /opt/soft]# yum groupinstall -y "Development Tools" 
11 [root@test /opt/soft]# yum install -y gcc gcc-c++ gd mhash gettext iconv autoconf automake libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers

 

下载PHP

1 [root@test ~]# wget http://cn2.php.net/distributions/php-5.6.21.tar.gz

编译安装

 

1.2 相关设置

 

 

php-fpm 的安装与测试

标签:

原文地址:http://www.cnblogs.com/jonsea/p/5499866.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!