+ -
当前位置:首页 → 问答吧 → WAMP5+ZendStudio5.5 可调试 环境配置总结

WAMP5+ZendStudio5.5 可调试 环境配置总结

时间:2007-10-14

来源:互联网

最近在搞个项目,以前就把ZendStudio5.5当做编辑器来使用,实在是大才小用的了.

我想大家都想用它的调试功能吧,可是出的问题比较多,我也是被搞的一头雾水.本来是安装 Zend Platform 试用版来调试的,可是没成功.后来通过安装 ZendStudioServer5.1才可以的.现在把配置步骤和自己的经验和大家分享下.

首先您需要下载:
WAMP5-v1.7.3.rar (这个是感觉目前最好用的集成环境的了)
http://www.newasp.net/soft/downl ... &downid=23&id=24050

ZendStudioServer-5.1.0
http://www.newasp.net/soft/downl ... &downid=23&id=15176

ZendOptimizer-3.3.0

这些下载后先安装  WAMP5 然后在安装 ZendOptimizer-3.3.0 在安装 ZendStudioServer-5.1.0

安装过程就不介绍的了,我想大家应该不会出现问题的.只要安装按照提示来做就好的了

现在问题来的了. WAMP5用的PHP版本的是 5.2 版 而 ZendStudioServer-5.1.0 不支持(我们主要使用  ZendStudioServer-5.1.0里面的 ZendStudioServer-5.1.0\lib\Debugger-5.1.0 然后在下面添加支持 5.2版本的DEBUGGER就可以的了.
在里面建立目录 php-5.2.x 把下面附件里面的 ZendDebugger.dll 放在里面就可以的了.

接下来就是到 http://localhost/ZendStudioServer/ 添加下地址就可以的了.

还有需要配置 ZendStudio 里面的 首选项 -- 调试 --- 改成Server然后填入 地址127.0.0.1 即可

[ 本帖最后由 scotoma 于 2007-10-14 14:31 编辑 ]
图片1.png (155.79 KB)

2007-10-14 14:31

作者: scotoma   发布时间: 2007-10-14

一般情况下配置不成功请查看 PHP的LOG 里面都会给出提示...

例如:  
[14-Oct-2007 13:38:43] PHP Warning:  Zend Debug Server for PHP 5.2.x cannot be found (expected at 'D:\Program Files\Zend\ZendStudioServer-5.1.0\lib\Debugger-5.1.0\php-5.2.x\ZendDebugger.dll') - try reinstalling the Zend Debug Server in Unknown on line 0 这个就是无法加载....

还有就是 http.conf 里面的
<IfModule mod_mime.c>
        AddType application/x-httpd-php .php
        AddType application/x-httpd-php-source .phps
</IfModule>

<Directory "D:\Program Files\Zend/ZendStudioServer-5.1.0">
        Options Indexes
        DirectoryIndex index.html index.php
</Directory>

### End of the ZendStudioServer-5.1.0 section.

作者: scotoma   发布时间: 2007-10-14

希望大家成功............
欢迎讨论....
QQ: 517577550

ThinkPHP 新版本框架在 20071015发布欢迎大家去看看 http://thinkphp.cn 这个是个国人写的好框架,希望大家多多支持...

[ 本帖最后由 scotoma 于 2007-10-14 14:37 编辑 ]

作者: scotoma   发布时间: 2007-10-14

platform发布的最新版本3.5已经包含了最新的Zend Optimizer 3.3.1和Zend Debugger 5.2.10.

作者: PHPChina   发布时间: 2007-10-14

热门下载

更多