lnmp1.4上thinkphp5.0出现404的解决办法

气死了,tp5在Nginx上不适用pathinfo格式的url,在项目的Nginx配置文件里找到include enable-php.conf 改为 include enable-php-pathinfo.cof ,然后就可以了。

来源:https://blog.csdn.net/u013659696/article/details/78902876

猜你喜欢

转载自blog.csdn.net/gb4215287/article/details/88766487