nginx tp5配置

Posted dongbo

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了nginx tp5配置相关的知识,希望对你有一定的参考价值。

location ~ [^/].php(/|$) {
      #fastcgi_pass remote_php_ip:9000;
      fastcgi_pass unix:/dev/shm/php-cgi.sock;
      fastcgi_index index.php;
      fastcgi_split_path_info ^(.+.php)(.*)$;
      fastcgi_param PATH_INFO $fastcgi_path_info;
      include fastcgi.conf;
}

 

以上是关于nginx tp5配置的主要内容,如果未能解决你的问题,请参考以下文章