© 1999-2048 dssz.net 粤ICP备11031372号
[其它] 浅谈thinkphp的nginx配置,以及重写隐藏index.php入口文件方法
说明:1,心血来潮,把ThinkPHP项目部署到了nginx上,以上是在apache上跑的。突然发现nginx不支持pathinfo功能,难怪在TP中调怎么都没管用。 2,开始上文件了,比网上其他一些杂的好多了: server { listen 80; #listen [::]:80; server_name www.tp.com tp.com; index index.html index.htm index.php default.html default.htm default.php; ro<weixin_38682254> 上传 | 大小:147kb