zend studio6.12中用php web page调试php程序的步骤

原文地址:http://blog.sina.com.cn/s/blog_59a79e8b0100ktpy.html



1、新建一个php project,注意要想用php web page显示结果,此处的位置必须选择为zend server目录下,我的为:D:\Zend\Apache2\htdocs\工程名,这一步很关键。
zend <wbr>studio6.12中用php <wbr>web <wbr>page调试php程序的步骤

2、点击“窗口”->“首选项”,进入“调试配置”,注意这里的“ENter the url that pointing to the documentroot of this server”,服务器端口一定要正确,否则下一步的“Test debugger”会出错。端口在安装zend server时会有出现,我的是web server port:80,zend server interface port:10081. 这里应该是80,对吧?
zend <wbr>studio6.12中用php <wbr>web <wbr>page调试php程序的步骤

3、选中此server,点“edit”。
zend <wbr>studio6.12中用php <wbr>web <wbr>page调试php程序的步骤
4、下一步,选择“path mapping”,路径就是第一步中的D:\Zend\Apache2\htdocs\工程名,local path好说,选择就是了,这个一般不会错的。
zend <wbr>studio6.12中用php <wbr>web <wbr>page调试php程序的步骤
5、好了,试试吧,成功了吧!

猜你喜欢

转载自wangxiaoxu.iteye.com/blog/2097922