//新版使用了Eclipse PDT 更适合企业级团队开发,希望对大家有所帮助
//20100630 by xinqiyang
PHP可调试团队开发环境配置-支持企业级开发
最近用PHP做的项目还是多的,一个好的PHP的调试环境可以给开发带来很多的便利.
总结下ZendStudio5.5 + WAMP1.7.5 的安装配置过程
1. 安装WAMP 1.7.5
2. 安装ZENDSTUDIO 5.5
3. 确保WAMP正常启动,就是上图截图的启动后的状态(如果APACHE没启动,请关闭迅雷和IIS等,因为80端口被占用就无法启动的了) 无法启动就无法调试的了
4. 安装完成后 复制dummpy.php 到 WAMP 安装目录下的 www 目录下 即网站的根目录
5. 然后配置 ZendStudio 上面的截图你按照那个配置
6. 修改WAMP 配置文件中的php.ini的配置 如果你的PHP.ini中没这些内容,你就把以下复制到 你的PHP.INI的目录中..这个PHP.INI的路径你看下我上面截图中的位置..托盘左键 – 配置文件 –PHP.INI
[Zend]
zend_extension_ts="D:\Program Files\Zend\ZendDebugger.dll"
zend_debugger.expose_remotely=allowed_hosts
zend_debugger.deny_hosts=
zend_debugger.allow_hosts=127.0.0.1/32
zend_debugger.expose_remotely=allowed_hosts
Debug Configuration
Debug Mode:Server
Debug Server URL: localhost
Client Debug Port: if the Port in use you should change it .ex. 10000 to 10001
Last
copy dummy.php to the www Dictionary.
zend_extension_ts="D:\Program Files\Zend\ZendDebugger.dll"
zend_debugger.expose_remotely=allowed_hosts
zend_debugger.deny_hosts=
zend_debugger.allow_hosts=127.0.0.1/32
zend_debugger.expose_remotely=allowed_hosts
Debug Configuration
Debug Mode:Server
Debug Server URL: localhost
Client Debug Port: if the Port in use you should change it .ex. 10000 to 10001
Last
copy dummy.php to the www Dictionary.
注意这里加粗的路径,这个是要是你的路径就好拉……..然后那个ZENDDEBUGGER.DLL我那有提供下载你下下就好拉
更具体的截图请看附件里面的内容
https://files.cnblogs.com/scotoma/ZendStudio5.5调式环境配置.rar
//edit by xinqiyang 2008.6.27
WAPM 2.0C + ZendStudio 5.5 在SERVER 2008中也配置成功.
配置时候配置DEBUG页时需要修改 端口号 10000 修改成不被占用的,即可.