Home >Backend Development >PHP Tutorial >服务器- pigcm+nginx+centos路径问题

服务器- pigcm+nginx+centos路径问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-02 11:33:321155browse

nginx服务器phppigcms

最近服务器上装了个pigcms,服务器环境是centos6.5+nginx+php-fpm,pigcms得知是用thinkphp开发的,
装上之后打开首页样式都乱掉的,后来网上查了一个方法,在php.ini里更改一个字段为:default_mimetype =" " ,其他浏览器都正常了,只有ie9里面还是mime类型不匹配。这个暂时就这样了,但是pigcms绑定微信公众平台后,里面微网站的分类管理中,分类模板一直出不来,无法选择。然后填充的这个分类的文章页面样式都是乱掉的,然后对比正常的页面,发现这个这个页面的转发路径是错误的,在正常页面之间多了/api/(这个微信号的token)/这一段。应该是pathinfo路径重写的时候不对,但是具体哪一步的错误找不出来,求教有没有懂这个的,nginx环境下部署pigcms

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn