thinkphp 5.0 路由不好使
本文介绍了thinkphp 5.0 路由不好使的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
thinkphp 5.0 nginx 伪静态配置了
可以访问/public
但不管是访问/index/index 还是别的hello 都访问不了 除了/public 其他基本都访问不了
解决方案
问题原因找到了 要将public文件夹的index.php 拽到根目录
这篇关于thinkphp 5.0 路由不好使的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文