转:Zend Server Community Edition(CE) 安装手记

apache + php 配置好麻烦呀。装完zend studio 后突然从【help】中看到了Zend Server。

一直没有使用过,装一次用用。

http://www.zend.com/en/downloads/ 中下载 Zend Server Community Edition(注意是Community Edition),我第一次就差点下错了。也可以从 http://www.zend.com/en/products/server-ce/downloads 中下载。

 下面是Zend Server 和 Zend Server CE 支持功能,花钱的和不花钱的就是有区别呀!没办法,谁叫咱穷呢!!



安装比较简单,双击运行,根据安装向导走,我没有选择full 安装,安装于 D:\Zend 路径下,很顺利的装完。选择了与 Apache 服务器集成(80端口),而 Zend Server 则选择了默认的 10081 端口。

Zend Server 被配置成虚拟路径 ZendServer,指向实际物理路径 D:\Zend\ZendServer。Zend Server 的有关配置文件是 D:\Zend\Apache2\conf\zend.conf,被该路径下的 httpd.conf 文件包含。

第一个错误!!!

运行 ZendServer 时,出错了:在打开网址 http://localhost:10081/ZendServer 时,报告:500错误 Internal Server Error
Apache应该是正常的,php没起来。

打开 Apache 日志, 发现下面的提示:

[error] Zend Enabler cannot load because of a problem in its configuration file: XML parse error on line 1 column 3 - processing instruction name expected

打开 Zend Enabler 的 XML 配置文件 D:\Zend\ZendServer\etc\ZendEnablerConf.xml

居然看到首行第一个字符是乱码,改成“<?xml ”字符保存,重启 apache 服务器。 好了。

到现在也没有明白,为什么会有乱码?? 难道是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

【为了获得最佳的稳定性和性能,只能运行在一个支持的浏览器Zend的服务器社区版。有关支持的浏览器的完整列表见zend.com的Zend服务器社区版文档资源】

晕,居然不支持IE 6。打开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
下了一个 firefox后,问题解决。

访问http://localhost:81/ZendServer/
第一次来会让你设置一下口令,以便下次登录使用

 由于我的开发工具使用的是zend studio,所以它可以自动找到 zend server(记住如果安装zend server的时候, zend studio已经打开,需要重启 zend studio)。

由于集成安装了 Zend Debugger,所以可以与 Zend Studio 7.0 IDE 配合进行 PHP 代码的远程调试

多说两句,由于xdebugger与Zend Optimizer冲突,所以如果你用netbeans 就不要使用Zend server CE了,netbeans之支持Xdebugger。

使用后的体会,我会继续写的,希望zend 不要忽悠我。

本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/jz_jhm0516/archive/2010/07/11/5727238.aspx

原文地址:https://www.cnblogs.com/feihusurfer/p/1896783.html