With Xdebug v3.1. Zend Engine v4.1.8, Copyright (c) Zend Technologies RUN pecl install xdebug The above instruction will install the xdebug inside our docker container. Install ok: channel:///xdebug-3.1.5Ī quick test shows that all is now as it should ~ $ php -v To install xdebug we can add the following line in our dockerfile. 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. If enabled, the xdebug. 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 xdebug.remoteconnectback Type: boolean, Default value: 0, Introduced in Xdebug > 2.1. 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. |