[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 的评论:确实
[1]odo [Iron|Windows 7] 发表于 2017-01-06 22:47 的评论:$ 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;这行后,重启正常。请问这行是怎么意思呢?
[1]IAMblacker 发表于 2015-03-07 16:53 的评论:最后放test.php的文件夹位置错了~~~nginx配置文件里面是/usr/share/nginx/html,小编你写放在 /var/www/html/ 目录~~~~
[1]火云仙圣 发表于 2014-11-27 11:33 的评论:回复@Linux中国:@Linux中国 即便不是你杜撰的,你也最好改正,错误的东西你也要传播吗?百度都没有,这不是理由!lemp lnmp希望你百度下
分享到微信
打开微信,点击顶部的“╋”,
使用“扫一扫”将网页分享至微信。