设为首页 加入收藏

TOP

原创:LNMP架构部署个人博客网站 禁止转载复制(七)
2017-10-13 10:37:15 】 浏览:6947
Tags:原创 LNMP 架构 部署 个人 博客 网站 禁止 转载 复制
             |

        #| 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

首页 上一页 4 5 6 7 8 9 10 下一页 尾页 7/11/11
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇SSH服务端配置、优化加速、安全防.. 下一篇RHEL下SendMail修改发邮箱地址

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目