---
title: "windows7下的xampp系统和aptana的集成（可debug）"
author: "maosuhan"
date: "2011-01-06T11:06:25Z"
tags: ["Aptana", "MySQL", "PHP", "SQLite", "Zend"]
categories: ["编程语言"]
slug: "windows7-xampp-aptana-debug"
draft: false
lastmod: "2011-01-06T11:06:25Z"
id: 860386
url: "https://maosuhan.iteye.com/blog/860386"
---

首先下载aptana，我用的是2.05版本的，再下载安装pdt和zend debugger，这个就不多说了。

xampp我下的是1.7.3版本的，里面集成的主要组件的版本如下：

\+ Apache 2.2.14 (IPV6 enabled)  
  + MySQL 5.1.41 (Community Server) mit PBXT engine 1.0.09-rc  
  + PHP 5.3.1 (PEAR, Mail\_Mime, MDB2, Zend)  
  + Perl 5.10.1 (Bundle::Apache2, Apache2::Request, Bundle::Apache::ASP, Bundle::Email, Bundle::DBD::mysql, DBD::SQlite, Randy Kobes PPM)

 

我最关心的就是php能不能实现调试功能吗，我曾经尝试着使用zend debugger，无奈总是装不上去，于是就想装xdebug。在网上下了一个php\_xdebug-2.1.0-5.3-vc6.dll，放在了E:\\soft\\xampp\\xampp\\php\\php\_xdebug-2.1.0-5.3-vc6.dll，于是在php.ini最下面写

 

zend\_extension\_ts="E:\\soft\\xampp\\xampp\\php\\php\_xdebug-2.1.0-5.3-vc6.dll"  
xdebug.remote\_enable=true  
xdebug.remote\_host=127.0.0.1  
xdebug.remote\_port=9000  
xdebug.remote\_handler=dbgp  
xdebug.profiler\_enable=1  
xdebug.profiler\_output\_dir="E:\\soft\\xampp\\xampp\\tmp"

 

于是在aptana下就可以轻松调试了。