webdevops / Dockerfile

:package: Dockerfiles from WebDevOps for PHP, Apache and Nginx
https://webdevops.io/projects/dockerfiles/
MIT License
1.66k stars 491 forks source link

Php 7.1 with xdebug 2.8.1 not work correctly #514

Open kk580kk opened 4 months ago

kk580kk commented 4 months ago

Thiscommit is horrible.

Because php-dev:7.1 , php-dev:7.1-alpine , and almost all build below 7.2 is used xDebug 2 not xDebug 3. Remove xDebug 2 configuration make them debug failed.

Please fix it @htuscher

htuscher commented 4 months ago

I'm not supporting PHP 7.x images anymore as the base images are not maintained since 4 years: https://hub.docker.com/layers/library/php/7.1-fpm-stretch/images/sha256-b3ab332d16643ea8d6967c8b2d7e8678026224c8b283e8e667465efbf5123b73?context=explore

Feel free to make a pull request and I'll build and push them with our build system, but I won't put any effort in maintaining the templates and Dockerfiles for those deprecated images.

kk580kk commented 3 months ago

I'm not supporting PHP 7.x images anymore as the base images are not maintained since 4 years: https://hub.docker.com/layers/library/php/7.1-fpm-stretch/images/sha256-b3ab332d16643ea8d6967c8b2d7e8678026224c8b283e8e667465efbf5123b73?context=explore

Feel free to make a pull request and I'll build and push them with our build system, but I won't put any effort in maintaining the templates and Dockerfiles for those deprecated images.

Thank you for your reply.

I tried to solve this XDebug problem, but I failed. After restoring the configuration file, the xdebug requests still cannot be received.

Later, through searching, it was found that this image can solve this problem https://hub.docker.com/layers/chialab/php-dev/7.1-fpm/images/sha256-74950bf3caafeb5ccdec4aae61aa21c81407cb2dd8a75b259b24e5220c063a79?context=explore