How to create a php application in cloudflare pages

I want to deploy cloudflare page using php or java there is some thing call pages environment but how to use it i want to deploy php pages

Hi @example0!
You would need to use PHP/Java to generate the static assets (HTML/JS/CSS/etc) that would be uploaded to Cloudflare Pages. You won’t be able to run PHP/Java code on Cloudflare Pages, just during the build stage to generate the static assets.

For reference, these languages/tools/runtimes are available to run during the build stage: Build configuration · Cloudflare Pages docs

Only static assets are deployed to your Cloudflare Pages site.

2 Likes

2 posts were split to a new topic: Running php on Cloudflare