Run Phpinfo () under PHP5.3 version
Locate the Server API Bar display: Apache 2.0 Handler
thinkphp. htaccess inside the original configuration is:
Ewriterule ^ (. *) $ index.php/$1 [qsa,pt,l]
PHP5.4 version starts running Phpinfo ()
Locate the Server API bar display: cgi/fastcgi
thinkphp. htaccess should be configured as:
Ewriterule ^ (. *) $ index.php?s=$1 [qsa,pt,l]
Because PHP does not support path_info parsing of rewrite target URLs in fastcgi mode
When thinkphp runs at url_model=2, No input file specified is present.
In the TP3.2.1 version, for example, when you enter Www/tproot/home, No input file specified will appear.
You must change the. htaccess configuration in the above method.
Note: PHP's default operating mode is fastcgi
This article from "thinkphp Study notes" blog, declined reprint!
Different versions of PHP's fastcgi mode support TP URL rewriting