-
-
Save satriyop/95ab5ea8927793fb73b10bfc2c2aa677 to your computer and use it in GitHub Desktop.
Installing XDEBUG in PHP 7.4 - MacOS - brew
This file contains hidden or 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