hrllka.blogg.se

Download docker php ext install xdebug
Download docker php ext install xdebug





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

download docker php ext install xdebug

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 Installing '/opt/homebrew/Cellar/php/8.1.8/pecl/20210902/xdebug.so' RUN apt update RUN apt upgrade -y RUN apt install -y apt-utils RUN a2enmod rewrite RUN apt install -y libmcrypt-dev RUN apt install -y libicu-dev RUN docker-php-ext-install -j (nproc) intl RUN apt-get install -y. Supported docker images are all the Alpine. The script will install all the required APT/APK packages at the end of the script execution, the no-more needed packages will be removed so that the image will be much smaller. Starting to download xdebug-3.1.5.tgz (232,070 bytes) This repository contains a script that can be used to easily install a PHP extension inside the official PHP Docker images. See also docker/hub-feedback238 and docker/roadmap475.

download docker php ext install xdebug download docker php ext install xdebug

This whirrs and clicks for a while downloading and compiling the xdebug.so and then fails ~ $ pecl install xdebug Where to get help: the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow Supported tags and respective Dockerfile links Note: the description for this image is longer than the Hub length limit of 25000, so the 'Supported tags' list has been trimmed to compensate. 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.







Download docker php ext install xdebug