环境是win2008 r2 iis7.5 php5.3 mysql,ZendGuardLoader-php-5.3-Windows.
phpinfo();能正常显示。1、运行网站的时候,在IE8下直接显示空白,我右键源代码结果如下:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>
2、同一个页面在chrome里提示
服务器错误
网站在检索 index.php 时遇到错误。 该网站可能关闭进行维护或配置不正确。
以下是一些建议:
请稍后重新加载此网页。
HTTP 错误 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况。在线求解,非常感谢!!

解决方案 »

  1.   

    打开php.ini 的错误显示 并且将错误级别设置为全部显示.
      

  2.   


        error_reporting = E_ALL
        display_errors = On修改后 restart iis.
      

  3.   

    里面设置了display_error =on ,重启了IIS,不过还是跟原来一样。
    找到一个报错的页面提示错误信息如下:
    Fatal error: Incompatible file format: The encoded file has format major ID 3, whereas the Loader expects 4 in D:\website\admin\index.php on line 0
      

  4.   

    打开错误提示 是为了找到错误。不是打开后问题就可以解决看起来似乎是 Zend Guard Loader 的版本太低了.
      

  5.   

    Zend Guard Loader 是针对 php-5.3.x 的。   ZendGuardLoader-php-5.3-Windows因为我安装的php5.3 是非线程版本,所以安装了Zend Guard Loader.是不是必须安装php5.2 线程版本,然后安装ZendOptimizer3.3 呢??
      

  6.   

    补充。phpinfo里面的信息如下:
    This program makes use of the Zend Scripting Language Engine:
    Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
        with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
      

  7.   

    我对Zend Guard并没有更多的知识,所以请你自行尝试一下.这个可能性应该蛮大的.