Install xDebug with your MAMP – Mac OS X 10.6

February 24th, 2011 admin Location: Raleigh, NC, Topic: Web Design | Digital Media

Ok so the very reason why I am writing this post is because I am sure some of you have trouble installing xDebug with MAMP in Mac OS X 10.5 or 10.6. I think the problem is pretty simple, however if you don’t know it, you will scratch your head for hours!
Here it is. The first part of installing xDebug is to get it as an extension for Zend in PHP. So you traditionally would go to the xDebug Wizard and see that it has a nice box where it asks for your phpinfo(); results.

So go ahead and visit the xDebug Wizard first. Then head to your local machine and create a simple php script with the following:


2. Ok so now go ahead and save your php script somewhere accessible by your local web server. Now head to your browser and run the script. Select all the output and paste it in the textarea box at the xdebug wizard.

3. Now, xdebug is going to give you tailored instructions on how to proceed from here. HOWEVER, at the end of the instructions you will need to do another step.

4. Head to Komodo IDE’s download page and click on the PHP debugging extension for MAC OS.

5. Once you have the download take the located in the package, and place this into

6. Edit your /Applications/MAMP/conf/php5/php.ini like so:

; xdebug

7. Restart your Server and re-run your phpinfo() script.

8. You should now see the extension running properly.

About the Author

Alex Centeno MBA., is an international creative director and digital media strategist. Currently residing minutes away from the Research Triangle Park (RTP) - North Carolina, and with over 10 years of interactive marketing training and experience, Alex leads Merkados' international clients to maximizing their online business strategies. One of Alex's biggest strengths is his world-class capacity to effectively combine interactive marketing, digital media design and web development.

You may find further information about Alex Centeno MBA. at: and Twitter.

Sobre el Autor

Alex Centeno MBA., Es un director creativo y estratega de medios digitales reconocido internacionalmente. En la actualidad reside a tan solo minutos del Research Triangle Park (RTP) - Carolina del Norte, y con más de 10 años de entrenamiento y experiencia en marketing interactivo, Alex lidera a los clientes internacionales de Merkados™ para maximizar sus estrategias de negocios en línea. Una de las mayores fortalezas de Alex es su capacidad global de combinar de manera efectiva, mercadeo interactivo, diseño de medios digitales y desarrollo web.

Para más información sobre Alex Centeno MBA. puede visitar: y Twitter.