I think I have done all the configurations people give on the internet about it, but still can't install and make run properly xdebug.so on macOS High Sierra.
The best help so far is found here
But still receiving this error:
MacBook-Pro-de-Marcello:compliancy.com marcellopato$ valet php --ini
Failed loading /usr/local/Cellar/php@7.2/7.2.34_5/extentions/xdebug.so: dlopen(/usr/local/Cellar/php@7.2/7.2.34_5/extentions/xdebug.so, 9): Symbol not found: _zend_post_startup_cb
Referenced from: /usr/local/Cellar/php@7.2/7.2.34_5/extentions/xdebug.so
Expected in: flat namespace
in /usr/local/Cellar/php@7.2/7.2.34_5/extentions/xdebug.so
Configuration File (php.ini) Path: /usr/local/etc/php/7.2
Loaded Configuration File: /usr/local/etc/php/7.2/php.ini
Scan for additional .ini files in: /usr/local/etc/php/7.2/conf.d
Additional .ini files parsed: /usr/local/etc/php/7.2/conf.d/error_log.ini,
/usr/local/etc/php/7.2/conf.d/ext-opcache.ini,
/usr/local/etc/php/7.2/conf.d/php-memory-limits.ini