Created
January 20, 2024 11:12
-
-
Save indraAsLesmana/da9be0ec7ce65aada765c34b97ba87f5 to your computer and use it in GitHub Desktop.
Error install xdebug on Mac
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
| Install using ```pecl install xdebug``` | |
| and got error something like this: | |
| Warning: mkdir(): File exists in System.php on line 294 | |
| PHP Warning: mkdir(): File exists in /opt/homebrew/Cellar/php/8.2.12_1/share/php/pear/System.php on line 294 | |
| Warning: mkdir(): File exists in /opt/homebrew/Cellar/php/8.2.12_1/share/php/pear/System.php on line 294 | |
| ERROR: failed to mkdir /opt/homebrew/Cellar/php/8.2.12_1/pecl/20220829 | |
| simply fix with this: | |
| pecl config-get ext_dir | pbcopy | |
| mkdir -p {paste clipboard value} | |
| and re install again using pecl install xdebug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment