Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9018779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:37:05+00:00 2026-06-16T04:37:05+00:00

I am trying to set up Xdebug on my MAMP PRO installation. I tried

  • 0

I am trying to set up Xdebug on my MAMP PRO installation. I tried xdebug.org/wizard.php to get the correct Xdebug version with custom installation instructions but I got stuck.

According to step 4 in the tailored installation instructions I should get the following output:

Configuring for:
...
Zend Module Api No:      20100525
Zend Extension Api No:   220100525

But my output reads as follows:

Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626

Next I try the instructions at xdebug.org/docs/faq#custom-phpize because the tailored installation instructions advice me to do so.

I undo the first step by deleting xdebug-2.2.1.tgz and the unpacked folder and then I start at step 1 again. My input for step 4 is

/Applications/MAMP/bin/php/php5.4.4/bin/phpize

and the output reads as follows:

grep: /Applications/MAMP/bin/php/php5.4.4/include/php/main/php.h: No such file or directory
grep: /Applications/MAMP/bin/php/php5.4.4/include/php/Zend/zend_modules.h: No such file or directory
grep: /Applications/MAMP/bin/php/php5.4.4/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:        
Zend Module Api No:     
Zend Extension Api No: 

My guess would be that I need to install php.h, zend_modules.h and zend_extensions.h but I can not find them on the web. How do I best proceed in order to install Xdebug?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T04:37:07+00:00Added an answer on June 16, 2026 at 4:37 am

    The creators of MAMP have not released the usual open source components package with the 2.1.1 release, so you’ll have to do the following. php.h, zend_modules.h and zend_extensions.h can be found in the source code for PHP 5.4.4. Here’s a link to the page with the source code: https://www.php.net/get/php-5.4.4.tar.gz/from/a/mirror

    You’ll want to extract that, and the move the folder to /Applications/MAMP/bin/php/php5.4.4/include, creating the include directory if needed. I believe you’ll need to run ./configure from within /Applications/MAMP/bin/php/php5.4.4/include/php as well to generate the Zend headers. Then, try the instructions you found again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to set up xdebug on mamp pro with no success. I
I'm trying to set up XDebug for PHP. I edited some settings in my
When trying to set DoMatchParen I get the following error: E492: Not an editor
I'm trying set cookies for dynamic features. I've been able to get the on
I have been trying to set up debugging using XDebug in Eclipse for the
I am currently trying to get Xdebug to work on our development server. As
I am trying to get the Xdebug vim plugin to work which depends on
Trying to set a custom property(value) for a ViewController( e.g.- FirstViewController). FirstViewController.h //.. int
Trying to set up a simple login script in flex 4 with php. In
I'm trying to set up a PHP development environment on my Mac (lion) and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.