-
-
Save iradofurioso/ae4071bf17f09bf0e1c9a61a5f5fd1de to your computer and use it in GitHub Desktop.
Installing XDEBUG in PHP 7.4 - MacOS - brew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pecl install xdebug | |
$ vim /usr/local/etc/php/7.2/php.ini | |
Remove the line | |
zend_extension=xdebug.so | |
$ vim /usr/local/etc/php/7.4/conf.d/ext-xdebug.ini | |
Add the line: | |
zend_extension="/usr/local/Cellar/php/7.4.4/pecl/20190902/xdebug.so | |
The correct path to add here is provided at the end of pecl installation. | |
Restart Apache | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
correct line is:
zend_extension="/usr/local/Cellar/php/7.4.4/pecl/20190902/xdebug.so"
one " missing