Install xDebug on xampp on mac: phpize not working

I am using xampp5.6.15 on OS 10.11. I followed these instructions to install xDebug. My “customized installation instruction” is as follows: enter image description here

In this instruction, he does not mention where to put the downloaded tgz file, so I just left it where it was in the folder downloads, after I started it phpize, the output looks like this:

grep:/usr/include/php/main/php.h: grep: /usr/include/php/Zend/zend _modules.h: grep: /usr/include/php/Zend/zend _extensions.h: : PHP Api Version:
Zend Module Api No:
Zend Api No:
autoconf. , autoconf $PHP_AUTOCONF. script.

, - , xdebug , xamppfiles/ xamppfiles/modules/ , .

, ? ?

+4
3

, :

  • PHP

XAMPP, . , PHP XAMPP, .

  • Autoconf

autoconf

brew install autoconf
0

xdebug XAMPP php:

$ cd xdebug-2.5.0
$ /Applications/XAMPP/xamppfiles/bin/phpize
$ ./configure --enable-xdebug --with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config
$ make

\xdebug.so Extensions (. ).

0

, , :

1. cd xdebug-2.5.4
2. /Applications/XAMPP/xamppfiles/bin/phpize

brew, , : https://brew.sh/

3. brew install autoconf
4. ./configure --enable-xdebug --with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config

"make test":
5. make
6. make test
7. cp modules/xdebug.so /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20151012

/Applications/XAMPP/xamppfiles/etc/php.ini:
8. vi /Applications/XAMPP/xamppfiles/etc/php.ini
9. :
zend_extension = /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so

10. -.

, .

0

All Articles