解决tp5项目部署在nginx环境上404问题(伪静态)

 问题一: tp5项目在apache中运行一切正常,但部署在nginx环境中,页面打不开,老是提示404报错:php  解决办法:html 在宝塔网站->设置->配置文件中(或nginx.conf里)添加下面代码:nginx location / { index index.html index.htm index.php; #autoindex on; if (!-e
相关文章
相关标签/搜索