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: If you want to install xdebug according to the php version installed on your system, first check the php version: php -v PHP 8.1.2-1ubuntu2.11 (cli) (built: 22:56:18) (NTS). If you are not using a specific version, install like this: sudo apt install php-xdebug -y. 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. Then you can install xdebug according to your php version. 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 Installing '/opt/homebrew/Cellar/php/8.1.8/pecl/20210902/xdebug.so' I have a problem with Xdebug, this is my Docker configuration: Dockerfile: FROM php:8.1. Windows binaries: PHP 8.0 VS16 (64 bit) PHP 8.0 VS16 TS (64 bit) PHP 8.1 VS16 (64 bit) PHP 8. Follow these five steps to resolve this error: Go to xDebug. Starting to download xdebug-3.1.5.tgz (232,070 bytes) A: To resolve he PHP debugger not installed error, check the file in your C:/php/ext/ directory, which may contain some missing or wrong extension. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |