Cloud and container guides
A rebuilt image is the usual fix for an immutable runtime. Confirm the task that is serving traffic, not only the file you edited.
CloudAmazon EC2How to find and replace the PHP runtime for amazon ec2 after PHP2Shell.CloudAmazon ECSHow to find and replace the PHP runtime for amazon ecs after PHP2Shell.CloudAWS Elastic BeanstalkHow to find and replace the PHP runtime for aws elastic beanstalk after PHP2Shell.CloudAzure PHP hostingHow to find and replace the PHP runtime for azure php hosting after PHP2Shell.CloudCI/CD patch workflowHow to find and replace the PHP runtime for ci/cd patch workflow after PHP2Shell.CloudDocker ComposeHow to find and replace the PHP runtime for docker compose after PHP2Shell.CloudDocker imagesHow to find and replace the PHP runtime for docker images after PHP2Shell.CloudGoogle Cloud PHP hostingHow to find and replace the PHP runtime for google cloud php hosting after PHP2Shell.CloudImmutable serversHow to find and replace the PHP runtime for immutable servers after PHP2Shell.CloudKubernetesHow to find and replace the PHP runtime for kubernetes after PHP2Shell.CloudRebuilding PHP imagesHow to find and replace the PHP runtime for rebuilding php images after PHP2Shell.CloudReverse proxiesHow to find and replace the PHP runtime for reverse proxies after PHP2Shell.