http://www.a.com/foo.jpg/a.php/b.php/c.php
According to the configuration given above, nginx is passed to FastCGI The value of SCRIPT_FILENAME is:, which is $_SERVER['ORIG_SCRIPT_FILENAME'].
When cgi.fix_pathinfo = 1 in php.ini, PHP CGI uses / as the delimiter to check the following paths from back to front:/home /verdana/public_html/unsafe/foo.jpg
Until you find an existing file, PHP will execute this file as a cgi script and assign the path to the CGI environment variable - SCRIPT_FILENAME, which is $_SERVER['SCRIPT_FILENAME '] is worth it.This problem will also occur in many hosts using php-fpm (<0.6), but the new php-fpm has turned off cgi.fix_pathinfo. If you check the phpinfo() page, you will find that this option has been disabled. It no longer exists, and the return value of the code ini_get("cgi.fix_pathinfo") is also "false".
The above introduces some things compiled by wwwphpvimnet, including wph and php content. I hope it will be helpful to friends who are interested in PHP tutorials.