Zend Server 安装与配置图文教程
Zend Server是一款专业的PHP Web开发应用服务器,一些初次接触并使用此程序的朋友可能不太了解安装方法,本文为您提供了Zend Server 安装与配置图文教程,欢迎大家阅读,并提出自己的意见和问题,我们一起来学习!
首先要下载ZendServer软件
下载地址:http://www.zend.com/en/products/server/downloads
运行安装文件(ZendServer-CE-php-5.3.2-5.0.1-Windows_x86.exe)开始安装,选项请参照我的选择。
这里不做改动,维持默认选择即可
![Zend Server 安装与配置图文教程 Zend Server 安装与配置图文教程](http://xiazai.lenosoft.net/files/uploadpic/image/20131106/20131106035745_22458.png)
点击Browse按钮更改安装目录为D盘
更改Web Server Port为85 以避免跟IIS冲突
![Zend Server 安装与配置图文教程 Zend Server 安装与配置图文教程](http://xiazai.lenosoft.net/files/uploadpic/image/20131106/20131106040123_47004.png)
![Zend Server 安装与配置图文教程 Zend Server 安装与配置图文教程](http://xiazai.lenosoft.net/files/uploadpic/image/20131106/20131106040134_58529.png)
![Zend Server 安装与配置图文教程 Zend Server 安装与配置图文教程](http://xiazai.lenosoft.net/files/uploadpic/image/20131106/20131106040146_92867.png)
安装完成因Zend Server存在配置文件编码的错误,需要手工做更改。
用记事本打开D:Program FilesendendServeretcendEnablerConf.xml文件。
将 <?xml version="1.0" encoding="UTF-8"?> 更改为 <?xml version="1.0" encoding="UTF-8"?>
在控制面板中打开Apache Service Monitor(右键点击图中第二排第一个图标)
![Zend Server 安装与配置图文教程 Zend Server 安装与配置图文教程](http://xiazai.lenosoft.net/files/uploadpic/image/20131106/20131106040322_65522.png)
重新启动Apache(点击Restart按钮)
![Zend Server 安装与配置图文教程 Zend Server 安装与配置图文教程](http://xiazai.lenosoft.net/files/uploadpic/image/20131106/20131106040354_27825.png)
在浏览器中打开地址http://localhost:10081/ZendServer/
也可在开始菜单中找到Zend Server的快捷方式打开Zend Server配置界面做一下配置
勾选同意协议单选框。
为Zend Server设置一个密码
去除Email通知选择
![Zend Server 安装与配置图文教程 Zend Server 安装与配置图文教程](http://xiazai.lenosoft.net/files/uploadpic/image/20131106/20131106040415_34798.png)
配置完成后进入到Zend Server控制面板
这里提醒一下的是Server Setup > Directives 中的Error Handling and Logging组中的display_errors在日后开发中会常用到。
主要作用是打开或者关闭PHP的错误提示。
![Zend Server 安装与配置图文教程 Zend Server 安装与配置图文教程](http://xiazai.lenosoft.net/files/uploadpic/image/20131106/20131106040439_37262.png)