


With Xdebug v3.1. Zend Engine v4.1.8, Copyright (c) Zend Technologies config.m4 config.w32 package.xml phpxdebug.h phpxdebugarginfo.h rebuild.sh run-xdebug-tests.php template.rc xdebug.c xdebug.ini README. Install ok: channel:///xdebug-3.1.5Ī quick test shows that all is now as it should ~ $ php -v So to fix, I created the directory and installed Xdebug again: Investigating, I found that /opt/homebrew/Cellar/php/8.1.8/pecl is a symlink to /opt/homebrew/lib/php/pecl, however, this directory doesn’t exist. PHP Warning: mkdir(): File exists in /opt/homebrew/Cellar/php/8.1.8/share/php/pear/System.php on line 294ĮRROR: failed to mkdir /opt/homebrew/Cellar/php/8.1.8/pecl/20210902 To enable Xdebug, uncomment the directive that loads Xdebug in the INI file for Xdebug, then restart the web server. Starting to download xdebug-3.1.5.tgz (232,070 bytes) If you’re using the Seiden Group repository, you can install Xdebug in a single step: yum install php-xdebug Xdebug will be disabled by default, because it impacts performance. This whirrs and clicks for a while downloading and compiling the xdebug.so and then fails ~ $ pecl install xdebug Homebrew is always up to date, so it installed PHP 8.1 for me.Īgain, as usual, I installed Xdebug using pecl install xdebug. I have recently set up a new M2 MacBook Air and as usual, installed Homebrew and then installed PHP.
