I am using xampp5.6.15 on OS 10.11. I was following this instruction to install xDebug. My "tailored installation instruction" is as follows:
In this instruction, it doesn't mention where to put the downloaded tgz file, so I just left it where it was in the downloads
folder, after I ran phpize
, the output is like this:
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 guess it is because the xdebug folder is not in the right place, I've tried moving it to xamppfiles/
and xamppfiles/modules/
and some other places but none of the works.
So what is wrong? Where should I place the folder?