zend server 安装及相关配置
2012-07-07 14:25:27 来源:WEB开发网核心提示:在浏览器中打开地址:http://localhost:10081/ZendServer/也可在开始菜单中找到Zend Server的快捷方式打开Zend Server配置界面做一下配置勾选同意协议单选框, 为Zend Server设置一个密码 去除Email通知选择 配置完成后进入到Zend Server控制面板这里提
在浏览器中打开地址:http://localhost:10081/ZendServer/
也可在开始菜单中找到Zend Server的快捷方式打开Zend Server配置界面做一下配置
勾选同意协议单选框。 为Zend Server设置一个密码 去除Email通知选择
配置完成后进入到Zend Server控制面板
这里提醒一下的是Server Setup > Directives 中的Error Handling and Logging组中的display_errors在日后开发中会常用到。
主要作用是打开或者关闭PHP的错误提示。
勾选同意协议单选框。 为Zend Server设置一个密码 去除Email通知选择
配置完成后进入到Zend Server控制面板
这里提醒一下的是Server Setup > Directives 中的Error Handling and Logging组中的display_errors在日后开发中会常用到。
主要作用是打开或者关闭PHP的错误提示。
错误二:输入http:/localhost/无法打开。这个主要是起先你设置的时候,设置的端口号不是80,而默认是访问这个端口的。
可以如此访问:http://localhost:85/
修改端口号:
错误三:默认路径
appache默认路径一般是 X:\Program Files\Zend\Apache2\htdocs X表示你的盘符。
那么现在我想改到其他地方应该怎么办?
那需要修改httpd.conf(在此E:\Program Files\Zend\Apache2\conf目录下)
找到DocumentRoot开头的选项,修改为你想要的路径就可以。
例如:
DocumentRoot "D:\MyExperiment\php"
#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "D:\MyExperiment\php">
#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "D:\MyExperiment\php">
记住所有你的修改,在保存之后,都必须重新启动appace服务才行。
- ››zend server 安装及相关配置
- ››Zend Debugger 的安装教程
- ››Zend Studio 9.0 中文乱码解决
- ››server2003域迁移至server2008[为企业部署Windows...
- ››Server 2003 DFS客户端设置及安全策略
- ››server2008中页面报错webform_postbackoptions未定...
- ››Zend Framework 入门(1)—快速上手
- ››Zend Framework 入门(2)—多国语言支持
- ››Zend Framework 入门(3)—错误处理
- ››Zend Framework 入门(4)—页面布局
- ››SERVER数据转换ORACLE问题
- ››SERVER数据转换ORACLE问题(2)
更多精彩
赞助商链接