centos之lnmp
来源:互联网 发布:淘宝营销活动图片 编辑:程序博客网 时间:2024/05/20 08:23
再安装之前大家可以先看一下lamp的安装过程
http://blog.csdn.net/zph1234/article/details/51248124
1.安装nginx
2.更改nginx端口号(根据自己需求)
3.访问http://ip:81即可看到nginx首页
4.下一步安装php-fpm5.更改nginx配置文件识别php
vi /etc/nginx/conf.d/default.conf,把之前的#给去掉就可以了,顺手改一下fastcgi_param
6.
在 /usr/share/nginx/html中新建一个test.php <?php echo 123;?>
访问http://ip:81/test.php即可看到nginx中的php页面
7.负载配置
0 0
- centos之lnmp
- centos之lnmp
- centos之lnmp
- centos之lnmp
- centos之lnmp
- centos之lnmp
- centos之lnmp
- centos之lnmp
- centos之lnmp
- centos之lnmp
- centos之lnmp 安装
- centos之lnmp
- centos之lnmp
- centos之lnmp
- centos之lnmp
- centos之lnmp
- centos之lnmp
- centos之lnmp
- Neo4j:Index索引
- Android 开源项目集合-不定期更新
- Linux内核学习笔记十——虚拟文件系统概念
- java规范(一)------方法设计---返回多参数的方法怎么封装
- 166. Fraction to Recurring Decimal
- centos之lnmp
- 指针和字符串常量
- 378. [LeetCode]Kth Smallest Element in a Sorted Matrix
- c++怎么求一个带空格字符串长度
- 机器学习的前世今生:一段波澜壮阔的历史
- mysql 主从复制配置
- 最大间隙问题。给定 n 个实数,求这n个实数在数轴上相邻2个数之间的最大差值,设计解最大间隙问题的线性时间算法。
- 【BZOJ3289】Mato的文件管理,莫队+树状数组
- aoj 6 Hero In Maze