---
title: "nginx的PATH INFO变量"
author: "phpseyo"
date: "2013-08-12T16:28:06Z"
tags: []
categories: ["开源软件"]
slug: "nginx-path-info"
draft: false
lastmod: "2013-08-12T16:28:06Z"
id: 1923555
url: "https://phpseyo.iteye.com/blog/1923555"
---

nginx不带这个参数，需要在nginx的 conf/fastcgi.conf文件中新增下面两行，前期是需要include这个文件

 

```
fastcgi_split_path_info ^(.+\.php)(/?.+)$;
fastcgi_param  PATH_INFO          $fastcgi_path_info;
```