zoukankan      html  css  js  c++  java
  • ubuntu+php5.6+redis+mysql5.5+nginx

    thinkphp :


    location / {
                    if (!-e $request_filename) {
                            rewrite ^(.*)$ /index.php?s=$1 last;
                            break;
                    }       
                    
            location / {
                    try_files $uri $uri/ =404;
            }       
            
    location ~ .php$ {
                    include snippets/fastcgi-php.conf;
            #       
            #       # With php7.0-cgi alone:
            #       fastcgi_pass 127.0.0.1:9000;
            #       # With php7.0-fpm:
                    fastcgi_pass unix:/run/php/php5.6-fpm.sock;
                           fastcgi_index  index.php;
               fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
               include        fastcgi_params;  
               
           }

  • 相关阅读:
    codeforces 1012C
    openjudge 6045:开餐馆
    openjudge 7624:山区建小学
    codevs 1040 统计单词个数
    openjudge9267:核电站
    openjudge7624:山区建小学
    bzoj3224:普通平衡树
    洛谷1137:旅行计划
    洛谷1095:守望者的逃离
    校内模拟赛:确定小组
  • 原文地址:https://www.cnblogs.com/legend-song/p/5523896.html
Copyright © 2011-2022 走看看