With Xdebug v3.1. ![]() Zend Engine v4.1.8, Copyright (c) Zend Technologies 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: To learn more on upgrading to Xdebug 3, see the Upgrade guide. Xdebug 3 brings performance improvements, simplified configuration, and PHP 8 support. 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. Download the Xdebug extension compatible with your PHP version and install it as described in the Xdebug installation guide. Xdebug 3.2.1 Release date: Linux, macOS: source Windows binaries: PHP 8.0 VS16 (64 bit) PHP 8.0 VS16 TS (64 bit) PHP 8.1 VS16 (64 bit) PHP 8.1 VS16 TS (64 bit) PHP 8.2 VS16 (64 bit) PHP 8.2 VS16 TS (64 bit) Xdebug 3.2.0 Release date: Linux, macOS: source Windows binaries: PHP 8. 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 Starting to download xdebug-3.1.5.tgz (232,070 bytes) 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.
0 Comments
Leave a Reply. |