Closed AndyG-0 closed 2 years ago
I think version 8.x and 7.x would be having major syntax changes , I tried running with php:7.4.26-apache image and it seems to run well ( yet to get into any error) , migrating it to 8.x though would require some work .
Not sure why I didn't try a higher minor version of the major version first but I can say that php:7.4.27-apache removes any critical vulnerabilities. I haven't had a chance to fully test yet but I'm guessing it's probably ok. 7.4.26 had less vulnerabilities but still had some.
The php/apache base image in the dockerfile has some known vulnerabilities in it. Upgrading to the latest version(php:8.1.2-apache) removes the vulnerabilities but breaks the code. I have not had time to dig into the errors yet to see what it would take to get it to work with the latest php docker image.