For Workers & Pages, what is the name of the domain?
NA
What is the issue or error you’re encountering
No PHP 8 Support
What are the steps to reproduce the issue?
Any news about PHP 8+ support for Cloudflare pages build system? The V2 build languages docs hasn’t been updated for years.
I have to launch a Statamic PHP Laravel (static) site via Cloudflare pages, however, it won’t build due to missing PHP8 support.
Cloudflare Pages is positioned as a JAMstack platform: https://pages.cloudflare.com/
So any purely server-side language like PHP is out of scope… unless Cloudflare decides to change the product’s direction.
1 Like
Came back to clarify that while you cannot use PHP at runtime , PHP is surely available at built-time . So provided your project doesn’t need PHP at runtime, you can build and host a static version of your site on Cloudflare Pages.
Cloudflare Pages' build environment has broad support for a variety of languages, such as Ruby, Node.js, Python, PHP, and Go.
1 Like
It doesn’t PHP 8 though, which is the most recent version. 7.4 is pretty old now. It would be great if they added PHP 8 at some point.
system
Closed
January 8, 2025, 7:16am
5
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.