When you run a PHP inside a Docker container, you can make VSCode uses the PHP from the Docker container. This can be done by creating an executable Bash script that dynamically gets the Docker container name and then runs the PHP binary from it. Below an example of this Bash script. It reads the […]