In Alipay callback and WeChat callback methods. Parameters in the middle are not supported normally? s=, so the PATHINFO mode of THINKPHP must be turned on.
THINKPHP official forum and many NGINX configuration tutorials on the Internet are not very complete.
I always prefer to use lnmp.org to configure the server environment.
So this article will introduce LNMP to configure NGINX to support THINKPHP PATHINFO mode.
The method is very simple.
1, modify PHP.INI to support PHPINOF
PHP configuration file: /usr/local/php/etc/php.ini
Change php.ini
Found: cgi.fix_pathinfo=0
Change to: cgi.fix_pathinfo=1
2. Modify the nginx corresponding configuration file
/usr/local/nginx/conf/vhost/your domain name configuration file
Remove the # in include pathinfo and add it before try_files #;
3. Restart lnmp.
lnmp restart
Reprinted, original address: http://my.oschina.net/caomenglong/blog/660529
').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });The above introduces how LNMP configures NGINX to support THINKPHP PATHINFO mode, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.