Home  >  Article  >  Backend Development  >  nginx+php-fpm一部分网页显示空白

nginx+php-fpm一部分网页显示空白

WBOY
WBOYOriginal
2016-06-13 11:59:06949browse

nginx+php-fpm部分网页显示空白
nginx + php-FPM-FCGI,有些网站的有些页面显示空白(注:不是所有动态页都不能显示)是怎么回事呢?
比如zencart旧版兰亭模板后台正常(进后台把默认开启的伪静态关闭了,但),前台全是空白,新版兰亭前后台都是空白,而对应的官方zencart一切正常,淘客帝国的淘客程序首页空白其它页面正常。
查到了nginx、php的错误日志,没有产生错误日志记录。
网上查到的:nginx的配置文件里面缺
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
我看了我的是有的。

我是在debian下安装最新版directadmin面板时选择了新增的nginx自定义安装,并且装了两个版本的php,5.3和5.5,无论是用哪个版本的php都有这个问题
至于上面提到的程序之前在apache php5.3、5.4的环境下运行良好。
谢谢!

------解决方案--------------------
不是所有动态页都不能显示
表示环境配置基本没有问题,但不能排除不能显示的页中使用了过期函数而引起的错误

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