The content in. htaccess under the root directory of the thinkphp application is: & amp; lt; IfModulemod_rewrite.c & amp; gt; RewriteEngineonRewriteCond % {REQUEST_FILENAME }! -DRewriteCond % {REQUEST_FILENAME }! -FRewriteRule ^ (. *) $ index. php $1 [...
The content in. htaccess under the root directory of the thinkphp application is:
RewriteEngine on
RewriteCond % {REQUEST_FILENAME }! -D
RewriteCond % {REQUEST_FILENAME }! -F
RewriteRule ^ (. *) $ index. php/$1 [QSA, PT, L]
It is no problem to enable the same settings for the same code in the wamp environment.
Solution !!!
Reply content:
The content in. htaccess under the root directory of the thinkphp application is:
RewriteEngine on
RewriteCond % {REQUEST_FILENAME }! -D
RewriteCond % {REQUEST_FILENAME }! -F
RewriteRule ^ (. *) $ index. php/$1 [QSA, PT, L]
It is no problem to enable the same settings for the same code in the wamp environment.
Solution !!!
What error is prompted? Or does phpstudy fail to start directly? Check related log information!