title: set PHP path from host to docker container
body: <p>i know this is rather a stupid question, but i have the following problem. i use Docker above a year and a editor to change my programm which is hostet as a volume. </p>
  
  <p>i dont have installed php because it only runs inside of the containers, like almost all other of my server programms (like sql, apache). now i installed visual studio code and it cannot find the path to php to use intellisense. </p>
  
  <p>i know that i can set an environment path inside my docker-compose or Dockerfile to set an environment for my container. but the container is, if its run, isolated to the outside, except for commands like docker cp.</p>
  
  <p>is it possible to set a path from my host machine to the container machine, so that visual studio code can find PHP inside of the container and use it for intellisense? or do i have to install php on my host machine? but this would destroy the usage of the Docker containers in my opinion. </p>
  
  <p>for example in visual studio code config <code>settings.json</code></p>
  
  <pre><code>"php.validate.executablePath": DOCKERCONTAINER/usr/bin/php
  </code></pre>