找回密码
 骑士注册

QQ登录

微博登录

❏ 站外平台:

Linux 中国◆开源社区 首页 查看评论
w761556759 [Chrome 45.0|Windows 7] 2017-08-01 10:05 8 回复
学习
[1]
odo [Iron|Windows 7] 发表于 2017-01-06 22:47 的评论:
$ sudo yum php php-fpm php-mysql    此处命令是不是少了个install??
[2]
linux [Chrome 55.0|Mac 10.11] 发表于 2017-01-08 00:29 的评论:
确实
odo [QQ Browser 9.5|Windows 7] 2017-01-08 19:42 9 回复
原文,作者也是少了,挺粗心的哈...新手安装,肯定会莫名其妙。^_^
[1]
odo [Iron|Windows 7] 发表于 2017-01-06 22:47 的评论:
$ sudo yum php php-fpm php-mysql    此处命令是不是少了个install??
linux [Chrome 55.0|Mac 10.11] 2017-01-08 00:29 9 回复
确实
odo [Iron|Windows 7] 2017-01-06 22:47 12 回复
$ sudo yum php php-fpm php-mysql    此处命令是不是少了个install??
[1]
灰度龙 发表于 2015-06-14 21:37 的评论:
配置nginx的default.conf文件完成后,重启出现如下错误:
nginx.service - nginx - high performance web server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled)
   Active: failed (Result: exit-code) since 日 2015-06-14 21:30:10 CST; 45s ago
     Docs: http://nginx.org/en/docs/
  Process: 4954 ExecStop=/bin/kill -s QUIT $MAINPID (code=exited, status=0/SUCCESS)
  Process: 6469 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
Main PID: 1695 (code=exited, status=0/SUCCESS)

6月 14 21:30:10 localhost.localdomain systemd[1]: Starting nginx - high performance web server...
6月 14 21:30:10 localhost.localdomain nginx[6469]: nginx: [emerg] invalid number of arguments in "try_files" directive in /e...onf:34
6月 14 21:30:10 localhost.localdomain nginx[6469]: nginx: configuration file /etc/nginx/nginx.conf test failed
6月 14 21:30:10 localhost.localdomain systemd[1]: nginx.service: control process exited, code=exited status=1
6月 14 21:30:10 localhost.localdomain systemd[1]: Failed to start nginx - high performance web server.
6月 14 21:30:10 localhost.localdomain systemd[1]: Unit nginx.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
当我去除不是很理解的:try_files $uri =404;这行后,重启正常。请问这行是怎么意思呢?
linux 2015-06-14 23:19 5 回复
有关 try_files 的解释可参见: http://nginx.org/en/docs/http/ngx_http_core_module.html#try_files
在 0.7.51 之后,才支持 =404 这样的数字参数,所以请确认你没写错,你的 nginx 版本足够新。
灰度龙 2015-06-14 21:37 12 回复
配置nginx的default.conf文件完成后,重启出现如下错误:
nginx.service - nginx - high performance web server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled)
   Active: failed (Result: exit-code) since 日 2015-06-14 21:30:10 CST; 45s ago
     Docs: http://nginx.org/en/docs/
  Process: 4954 ExecStop=/bin/kill -s QUIT $MAINPID (code=exited, status=0/SUCCESS)
  Process: 6469 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
Main PID: 1695 (code=exited, status=0/SUCCESS)

6月 14 21:30:10 localhost.localdomain systemd[1]: Starting nginx - high performance web server...
6月 14 21:30:10 localhost.localdomain nginx[6469]: nginx: [emerg] invalid number of arguments in "try_files" directive in /e...onf:34
6月 14 21:30:10 localhost.localdomain nginx[6469]: nginx: configuration file /etc/nginx/nginx.conf test failed
6月 14 21:30:10 localhost.localdomain systemd[1]: nginx.service: control process exited, code=exited status=1
6月 14 21:30:10 localhost.localdomain systemd[1]: Failed to start nginx - high performance web server.
6月 14 21:30:10 localhost.localdomain systemd[1]: Unit nginx.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
当我去除不是很理解的:try_files $uri =404;这行后,重启正常。请问这行是怎么意思呢?
[1]
IAMblacker 发表于 2015-03-07 16:53 的评论:
最后放test.php的文件夹位置错了~~~nginx配置文件里面是/usr/share/nginx/html,小编你写放在 /var/www/html/ 目录~~~~
linux 2015-03-07 19:12 6 回复
谢谢指正!我修改啦~~
IAMblacker 2015-03-07 16:53 14 回复
最后放test.php的文件夹位置错了~~~nginx配置文件里面是/usr/share/nginx/html,小编你写放在 /var/www/html/ 目录~~~~
roach_sinai 2014-11-28 15:33  新浪微博网友评论 8 回复
@蓝蓝小脚丫 挺好的!
朝花夕拾.. 2014-11-28 09:12 10 回复
谢谢分享
[1]
火云仙圣 发表于 2014-11-27 11:33 的评论:
回复@Linux中国:@Linux中国 即便不是你杜撰的,你也最好改正,错误的东西你也要传播吗?百度都没有,这不是理由!lemp lnmp希望你百度下
来自 - 江西南昌 的 MSIE/Windows 用户 2014-11-28 08:11 19 回复
百度了,lemp也可以这么叫,Nginx 发音为 Engine X....
来自 - 广东佛山 的 Firefox/Windows 用户 2014-11-28 01:47 9 回复
LEMP?LNMP?大家弄明白再评论吧,反正小编没乱搞
GongBiao 2014-11-28 00:49 6 回复
哇,LEMP这个高端呀,有时间要测试研究一下!
顺便_粪 2014-11-27 13:02  新浪微博网友评论 8 回复
Repost
svolence 2014-11-27 12:03  新浪微博网友评论 8 回复
@我的印象笔记
火云仙圣 2014-11-27 11:33  新浪微博网友评论 12 回复
回复@Linux中国:好吧,尊重原文也对。
Linux中国 2014-11-27 11:33  新浪微博网友评论 10 回复
回复@火云仙圣:国外原文如此,而且不是一个地方这样说,话说好像lnmp才是我们国内杜撰的。
QQ920924960 2014-11-27 11:33  新浪微博网友评论 7 回复
是LNMP吧?
痴就是病字里一个知 2014-11-27 11:33  新浪微博网友评论 9 回复
每次在openSUSE上部署都会有问题。到底是英语不过关。
Linux中国 2014-11-27 11:33  新浪微博网友评论 10 回复
不知道何时出现了一个LEMP的缩写法,究竟应该称之为LNMP还是LEMP?支持LNMP的点"支持",支持LEMP的请"评论"。//@RSnoder:LEMP是LNMP的小号吗?
威谷子V 2014-11-27 11:33  新浪微博网友评论 6 回复
@有道云笔记收藏
火云仙圣 2014-11-27 11:33  新浪微博网友评论 10 回复
回复@Linux中国:@Linux中国 即便不是你杜撰的,你也最好改正,错误的东西你也要传播吗?百度都没有,这不是理由!lemp lnmp希望你百度下
JohnFuck 2014-11-27 11:33  新浪微博网友评论 9 回复
微博不是人工发的吧
Linux中国 2014-11-27 11:33  新浪微博网友评论 11 回复
回复@火云仙圣:又不是我杜撰的。
RSnoder 2014-11-27 11:33  新浪微博网友评论 11 回复
LEMP是LNMP的小号吗?
12下一页

返回顶部

分享到微信

打开微信,点击顶部的“╋”,
使用“扫一扫”将网页分享至微信。