完美解决nginx No input file specified.
<p>一次开发中遇到了这个问题:No input file specified</p><p>nginx版本1.8</p>
<p>找遍网络都是说</p>
<p>fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;</p>
<p>事实上,没有解决。</p>
<p>以下是完美解决方案:</p>
<p>把fastcgi.conf的</p>
<h1 id="fastcgi_param-document_root-document_root">fastcgi_param DOCUMENT_ROOT $document_root;</h1>
<p>注释掉,搞定!</p>
<p class="post-copyright">未经允许不得转载:<ahref="https://www.wangchao.info/">王超博客</a> » <ahref="https://www.wangchao.info/746.html">完美解决nginx No input file specified.</a></p>
页:
[1]