|
#| This software is subject to the PHP License, available in this |
#| distribution in the file LICENSE. By continuing this installation |
#| process, you are bound by the terms of this license agreement. |
#| If you do not agree with the terms of this license, you must abort |
#| the installation process at this point. |
#+--------------------------------------------------------------------+
#
#Thank you for using PHP.
make
make install <- 创建目录,生成程序文件信息
了解FastCGI
3) PHP软件程序创建软链接
ln -s /application/php-5.5.32/ /application/php
4) 配置php解析文件/配置php-fpm配置文件
#上边是开发用的 下面是运维用的
cd /server/tools/php-5.5.32
cp php.ini-production /application/php/lib/php.ini
php.ini-production 与 php.ini-development 文件区别关系对比
扩展:文件比较命令 diff zdiff vimdiff windows上的文件比较
cd /application/php/etc/
cp php-fpm.conf.default php-fpm.conf
5) 启动php-fpm程序
/application/php/sbin/php-fpm
)6检查
lsof -i :9000 <--- 确认php 9000端口是否正确启动
ps -ef|grep php-fpm
03:wordpress博客站点部署配置
1) 修改nginx配置文件,使nginx程序与php程序建立联系
vim extra/blog.conf
serv