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:
小伙看你根骨奇佳,潜力无限,来学PHP伐。
It should be php configuration. fastcgi-param script一项,调用的结果是$document_root$fast_cgi_name in php.conf, this caused duplicates.
fastcgi-param script
$document_root$fast_cgi_name
It should be php configuration.
fastcgi-param script
一项,调用的结果是$document_root$fast_cgi_name
in php.conf, this caused duplicates.