Greetings,
I have a simple PHP website, which I have containerized using a DockerFile and I am currently running it as a service on CloudRun. I have then created a domain mapping from the CloudRun service to a custom domain I have in CloudFlare.
However, whenever I run any PHP file on the custom domain I have it just downloads it as opposed to being executed. Whereas, the same PHP is running on the url provided by the CloudRun service.
I am not able to understand why the PHP works on CloudRun service URL, but not on the CloudFlare one. Any suggestions would be incredibly helpful. I am also ready to provide additional details if needed.
Thanks in advance!
Hi @VedantPandya,
Welcome to Google Cloud Community!
Since you mentioned that your PHP code works on Cloud Run service URL, I would suggest to reach out to CloudFlare support in order to further assist you with your concern.
Thank you so much for replying. Sure I will do that!