nginx + php-fpm 开启 PATH_INFO 模式
摘要:
很多框架默认路由都是 PATH_INFO 模式,比如默认在 Apache 并且没有 rewrite 时,CodeIgniter 一般可以这样访问 /index.php/controller/action ,那么 nginx 和 php-fpm 如何设置支持 PATH_INFO 模式呢? php.in 阅读全文
posted @ 2021-09-26 23:09 剩余价值 阅读(292) 评论(0) 推荐(0) 编辑