I need to configure a specific LAMP environment using docker using:
- debian squeeze
6.0.10
- apache
2
- php
5.6
- mysql
5.5
with the application code hosted on the base image with debian + apache
, I wonder if it is possible to use a php container instead of the standard php server installed on the debian container (witch is 5.3
) in the same way as with the mysql container.
here is a small image that better explains what the idea is

is it possible?
Thanks!
Update
After some research, I think this is not possible if you do not configure php as a cgi module, not even for a modular configuration.
, , , , , .