- 
        
FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream
错误原因及解决方法:
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;而 Nginx 识别不到
/scripts路径,所以phpinfo验证信息就无法正常通过,需要修改如下:fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;注意:
$document_root代表当前请求在root指令中指定的值。 - 
        
CentOS 服务器搭建 Shadowsockets 教程
yum install python-setuptools m2crypto supervisor easy_install pip pip install shadowsocks/usr/bin/python /usr/bin/ssserver -p 443 -k yourpassword -m aes-256-cfb --user nobody -d start - 
        
解决错误:nginx: [emerg] unknown log format "main"
重启 nginx 出现了如下错误:
nginx: [emerg] unknown log format "main" in /usr/local/nginx/conf/nginx.conf:34解决办法:
打开
nginx.conf,”main” 错误是因为丢失了log_format选项,把log_format所在行的注释去掉就 OK 了。 
文章归档
              
              
                2014 年 10 月
                2
              
              
              
                2014 年 09 月
                1
              
              
              
                2014 年 08 月
                3
              
              
              
                2014 年 07 月
                1
              
              
              
                2014 年 06 月
                3
              
              
              
                2014 年 05 月
                1
              
              
              
                2014 年 04 月
                1
              
              
              
                2014 年 02 月
                2
              
              
              
                2014 年 01 月
                1
              
              
              
                2013 年 12 月
                1
              
              
            
            文章日历
| 2014 年 06 月 | ||||||
|---|---|---|---|---|---|---|
| 日 | 一 | 二 | 三 | 四 | 五 | 六 | 
| 01 | 02 | 03 | 04 | 05 | 06 | 07 | 
| 08 | 09 | 10 | 11 | 12 | 13 | 14 | 
| 15 | 16 | 17 | 18 | 19 | 20 | 21 | 
| 22 | 23 | 24 | 25 | 26 | 27 | 28 | 
| 30 | 01 | 02 | 03 | 04 | 05 | 06 | 
文章标签
- Linux
 - Go
 - Yii
 - 新浪
 - CentOS
 - PHP
 - Git
 - WSL
 - Composer
 - Mac
 - 入职
 - Bootstrap
 - macOS
 - UCenter
 - 厦门
 - 出差
 - 长沙
 - 湖南卫视
 - 微博
 - Tengine
 - YUI
 - 泰国
 - pecl
 - 优化
 - GitLab
 - 迁移
 - rootless
 - 年会
 - 生日
 - Tengin
 - RedHat
 - Sphinx
 - cygwin
 - Windows
 - Tmux
 - Zsh
 - 升级
 - MySQL
 - sql_mode
 - Shadowsockets
 - 面向对象
 - HTTP
 - 状态码
 - grep
 - unoconv
 - PPT
 - Nginx
 - htpasswd
 - golang
 
最新评论
- 
                
                Tengine 2.2.2 配置 http2 协议出现的坑 - 
                
                Yii China 是官方唯一认可的中文社区 - 
                
                Go 语言中 json 的操作以及常见问题 - 
                
                新浪赴泰国曼谷和芭提雅团建 - 
                
                CentOS 安装 PHP7 - 
                
                WordPress 如何控制每页显示的条数 - 
                
                关于 phpMyAdmin 免输入用户名和密码,直接进入管理界面 - 
                
                PHP 5.4 的新特性 - 
                
                PHP 5.4 的新特性 - 
                
                PHP 5.4 的新特性