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

气死了,tp5在Nginx上不适用pathinfo格式的url,在项目的Nginx配置文件里找到include enable-php.conf 改成 include enable-php-pathinfo.cof ,而后就能够了
相关文章
相关标签/搜索