parameter script_filename is used by php for determining the name of script to execute, and query_string contains the parameters of the request. 所以,在没有定义SCRIPT_FILENAME这个系统变量时,php是没法解释执行的。 此变量的定义可以写在nginx的配置文件nginx.conf里,也可以写在外部文件,然后用include的方式在nginx.conf里包含进来。 您可能感兴趣的文章: nginx+php-fpm页面显示空白的解决方法 有关nginx+php-fpm配置文件的组织结构 nginx下跑php的程序,返回200,但是空白页 |
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号