Home  >  Q&A  >  body text

php-_server-php_self - Why does nginx $_SERVER['PHP_SELF'] get duplicate paths?

As shown in the figure, why does nginx $_SERVER['PHP_SELF'] get duplicate paths?

The configuration file is as follows
nginx.conf

php.conf configuration file:

fastcgi.conf configuration file:

伊谢尔伦伊谢尔伦2712 days ago569

reply all(1)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-16 17:29:29

    It should be php configuration.

    fastcgi-param script一项,调用的结果是$document_root$fast_cgi_name in php.conf, this caused duplicates.

    reply
    0
  • Cancelreply