Tell me please
The goal is to change the environment (php version and only) for php scripts of the old project
Running scripts - will be done on the crown or from the console or via Apache
The choice of method - the choice fell on docker, because the latest version of ubuntu no longer supports php below 5.6, and the project is old
So far, I've learned how to run a version of php from a container
docker run -t -i php:5.4 /bin/bash root@c92c6b9786e5:/# php -i phpinfo() PHP Version => 5.4.45 The question is how do I run the container (-d) so that php scripts can work on crown, or by opening n number of consoles could php be used ???
After all, in fact, the container daemon works with php, and php is not installed on the server