Install xdebug on XAMPP on your Mac: PHPize is not working properly

I use xampp5.6.15 on OS 10.11. I follow this instruction to install xDebug. My “tailor-made installation instructions” are as follows:
enter image description here

In this description, it does not mention where to download the tgz file, So I put it in the download folder. After I run phpize, the output is as follows:

grep: /usr/include/php/main/php .h: No such file or directory grep:
/usr/include/php/Zend/zend_modules.h: No such file or directory grep:
/usr/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for: PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your
autoconf installation and the $PHP_AUTOCONF environment variable.
Then, rerun this script.

I think this is because the xdebug folder is not in the correct location, I have tried moving it to xamppfiles/ and xamppfiles/modules/ and Some other places, but nothing works.

What’s wrong with that? Where should I put the folder?

I think you missed two things:

> PHP source

I don’t know XAMPP so I can’t help here. Maybe the PHP source code is packaged with XAMPP, take a look.

> autoconf

Try Install autoconf

brew install autoconf

I use xampp5.6.15 on OS 10.11. I follow this instruction to install xDebug. My “tailor-made installation instructions” are as follows:
enter image description here

In this description, it did not mention the location of downloading the tgz file, so I put it in the download folder. After I run phpize, the output is as follows:

grep: /usr/include/php/main/php.h: No such file or directory grep:
/usr/include/php/Zend/zend_modules.h: No such file or directory grep:
/usr/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for: PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your
autoconf installation and the $PHP_AUTOCONF environment variable.
Then, rerun this script.

I want this It is because the xdebug folder is not in the correct location, I have tried to move it to xamppfiles/ and xamppfiles/modules/ and some other places, but nothing works.

So what’s wrong? Where should I put the folder?

I think you missed two things:

> PHP source

I don’t know XAMPP so I can’t help here. Maybe the PHP source code is packaged with XAMPP, take a look.

> autoconf

Try to install autoconf

brew install autoconf

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1199 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.