centos之lnmp
来源:互联网 发布:3ds数据搬家 编辑:程序博客网 时间:2024/06/05 02:54
再安装之前大家可以先看一下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即可看到php页面
7.负载配置
8.如果需要安装最新版本php请参考 http://blog.csdn.Net/zph1234/article/details/52486808
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
- IOS TableView的Cell高度自适应,UILabel自动换行适应
- MySQL 数据库 备份与恢复
- 最熟悉的陌生人:ListView 中的观察者模式
- 构建shadowsocks服务器并局域网共享
- ECMAScript6笔记:Iterator和for...of循环
- centos之lnmp
- HashSet源码阅读
- Guava笔记Lists
- Java RMI 框架(远程方法调用)
- 敏捷开发系列学习总结(8)——创业公司研发团队建设
- 关于SVN提交不成功问题
- MySQL——存储过程和函数使用总结
- SAP新总账 凭证分割
- 公式编辑器编辑双向斜箭头的教程