The following error appears when installing xdebug on mac
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:
autom4te: need GNU m4 1.4 or later: /usr/bin/m4
Someone has mentioned it before, but I have an extra last line. I don’t know what to do. Please help!
The following error appears when installing xdebug on mac
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:
autom4te: need GNU m4 1.4 or later: /usr/bin/m4
Someone has mentioned it before, but I have an extra last line. I don’t know what to do. Please help!
I also encountered this problem, you can try it. Go to your terminal and type sudo xcodebuild -license. Then press Enter to open the protocol, scroll down with the space bar, enter agree at the end, and press Enter. Compile it again and try it. My problem is solved, wish you good luck.