Zend Server 安装记录

    从 www.php.net 上下载了 Zend Server 社区版:ZendServer-CE-php-5.3.2-5.0.1-Windows_x86.exe。在 Windows 下使用的,for PHP 5.3.2,其本身版本是 5.0.1。

    Zend Server 是一个企业级的应用服务器,集成了 PHP、Zend Framework、MySQL、Apache、PHPMyAdmin 等工具,看看 Zend 公司宣布的功能:

    Bytecode accelerator (Optimizer+)
    Zend Data Cache
    A certified PHP distribution
    Zend Framework
    Apache (or IIS integration)
    MySQL (on Windows and Mac OS X)
    Out-of-the-box connectivity to all common databases
    Java code connectivity
    Web-based PHP administrator console

    安装比较简单,双击运行,根据安装向导走,安装于 C:/Program Files/Zend 路径下,很顺利的装完。选择了与 Apache 服务器集成(80端口),而 Zend Server 则选择了默认的 10081 端口。
    Zend Server 被配置成虚拟路径 ZendServer,指向实际物理路径 C:/Program Files/Zend/ZendServer。Zend Server 的有关配置文件是 C:/Program Files/Zend/Apache2/conf/zend.conf,被该路径下的 httpd.conf 文件包含。

    但在运行 ZendServer 时,出错了:在打开网址 http://localhost:10081/ZendServer 时,报告:

    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.com and 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 代码的远程调试。

    作者:张庆(网眼) 2010-5-3
    来自“网眼视界”:http://blog.why100000.com
    “十万个为什么”电脑学习网:http://www.why100000.com

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值