Cloudflare plugin supports latest version of PHP?

Hey guys,

I need to update my site’s PHP to a newer version, so I would like to know what PHP version the Cloudflare plugin supports.
Wordpress is recommending a minimum version of 7.4. Does the Cloudflare plugin support this version?

Thanks!

I’m using the plugin with PHP 8 now, but it was working on 7.4 just fine.

3 Likes

sdayman, with PHP 8 the Cloudflare plugin presented problems for you?

I can understand your concerns about PHP 8 is not supported, since it was not officially tested against it:

  1. Cloudflare-WordPress/phpcs.xml at master · cloudflare/Cloudflare-WordPress · GitHub
  2. Cloudflare-WordPress/Dockerfile.wordpress at master · cloudflare/Cloudflare-WordPress · GitHub

but if @sdayman uses it with PHP 8 and does not encounter any issues, it should be safe to say that at least no big problems should occur.

Also: the official plugin states “PHP 7.2 or higher” (LINK) it should also support PHP 8.

3 Likes

Thanks for the reply @M4rt1n, I will test and check if I don’t find any problems.

1 Like

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