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 支持功能,花钱的和不花钱的就是有区别呀!没办法,谁叫咱穷呢!!


Features
Zend Server   Zend Server Community Edition
Native installation
Certified PHP
Zend Framework
Apache or IIS integration
MySQL (on Windows and Mac)
Built-in DB connectivity (Oracle, DB2, MySQL,..)
Java connector
Web-based administrator console
Debugger interface
Bytecode acceleration
Caching API
PHP 5.3 support
Clustering support with Zend Server Cluster Manager
Page caching
Application monitoring (alerting) 
Application problem diagnostics

Code tracing

Job queue 
Zend Download Server (Linux only) 
Software updates and hot fixes

Technical support

 

安装比较简单,双击运行,根据安装向导走,我没有选择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 不要忽悠我。

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值