I ran into a problem, I want to install xdebug (into a container with Alpine 3.8 + php 7.2), I use this line RUN pecl install xdebug-2.6.0 && docker-php-ext-enable xdebug and get the error, "docker-php-ext -enable not found ". The module itself is set. Tell me how to enable php mod in Alpine (standard phpenmod MODULE_NAME does not work)?
|
1 answer
After a long googling, I came to the conclusion that the basic assembly of alpine does not support docker-php-ext- *. For this, I decided differently, copying the finished config to the container. And yet, xDebug can not be installed via pecl, but pulled from the alpine repository apk add --no-cache php7-xdebug
|