Skip to content

Symlinks are not working for php configuration folder #19

Description

@jose-ricardo-health

While working on Xdebug configuration for a repository using this image, we had to add following 3 lines on docker-compose.dev.yml to make it work. Ideally, we should only map to one of them and have a symlink to the folder, similar to nginx configuration files.

- ../docker/lib/xdebug.conf:/etc/php/8.2/fpm/conf.d/20-xdebug.ini
- ../docker/lib/xdebug.conf:/etc/php/8.2/cli/conf.d/20-xdebug.ini
- ../docker/lib/xdebug.conf:/etc/php/8.2/mods-available/xdebug.ini

This issue is to investigate why symlinks are not present for these folders and fix it, avoiding potential mislead configuration due to not mounting the correct files and also removing the need to mount the same file multiple times.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions