Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,xiyi_pp@qq.comand inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
打开 Apache 日志, 发现下面的提示:
Zend Enabler cannot load because of a problem in its configuration file: XML parse error on line 1 column 1 - invalid byte '?' at position 3 of a 3-byte sequence
难道是 XML 文件有错吗?打开 Zend Enabler 的 XML 配置文件(路径 %your_install_dir%ZendServer\etc\ZendEnablerConf.xml), 居然看到首行第一个字符是乱码(一个“口”字),改成“<”字符保存,重启 apache 服务器(Windows 服务名:Apache2.2-Zend),OK 了。
但奇怪的是,文件是从 Zend 的服务器上下载的,那个 XML 文件也是安装过程自动生成的,怎会出现乱码?只能说,是 Zend 公司自己出错了。
但问题还没完……
打开http://localhost:10081/ZendServer时,又报告:
For optimal stability and performance, only run Zend Server Community Edition on a supported browser. For a complete list of supported browsers see the Zend Server Community Edition documentation resources on zend.com
我用的是 Windows Server 2003 里带的 IE6.0 3790 浏览器,竟然不被支持。在http://www.zend.com/en/products/server/system-requirements里找到了支持的浏览器:
Supported Browsers:
MS Internet Explorer 7 and above
Mozilla Firefox 2.0 and above
Apple Safari 3.0
看来微软的 IE6.0 真的是穷途末路,如过街老鼠般被围追堵截、人人喊打了(最近的 Flash 似乎也遭此命运,陷入水深火热之中了)。
再装 Firefox3.6.3,终于打开了http://localhost:10081/ZendServer。信息显示:
Welcome to Zend Server Community Edition
Please define your Administration Interface password.
设置了密码后,进入 PHP 管理界面。
由于集成安装了 Zend Debugger,所以可以与 Zend Studio 7.0 IDE 配合进行 PHP 代码的远程调试。