Update Cloudflare Pages Via Config File

Dear All

Previously I can configure my website via netlify.toml or vercel.json on my Github. How to configure Cloudflare Pages via config file like that?

Also why I getting an error when I update PHP_VERSION to 8.0?


1 Like

There is unfortunately no config file for Pages today - you can only configure projects via the dashboard and API. If you would like to see more configuration for
Pages, I would recommend upvoting the following post and leaving any feedback there:

And the maximum supported PHP version currently is 7.4. There’s an update coming to the build image soon that will support much more modern versions. If you have any thoughts or want to learn more, see the following discussion:


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.