sandywp / plugins / php-compatibility-checker
PHP Compatibility Checker
Make sure your plugins and themes are compatible with newer PHP versions.
Ready in seconds.
v1.6.3 200,000+ installs WP 5.6+ PHP 5.6+

What you get inside
2 screens-
Main screen: compatibility checker options
-
Compatibility results screen
About this plugin
WARNING: PHP Compatibility Checker is no longer actively maintained.
This software is still free to use under the license provided, but users should be aware that it is not currently maintained. No additional releases, including security releases, will be made available.
The WP Engine PHP Compatibility Checker can be used by any WordPress website on any web host to check PHP version compatibility.
This plugin will lint theme and plugin code installed on your WordPress site and give you back a report of compatibility issues as reported by Tide for you to fix. Compatibility issues are categorized into errors and warnings and will list the file and line number of the offending code, as well as the info about why that line of code is incompatible with the chosen version of PHP. The plugin will also suggest updates to themes and plugins, as a new version may offer compatible code.
This plugin does not execute your theme and plugin code, as such this plugin cannot detect runtime compatibility issues.
Please note that linting code is not perfect. This plugin cannot detect unused code-paths that might be used for backwards compatibility, and thus might show false positives. We maintain a whitelist of plugins that can cause false positives. We are continuously working to ensure the checker provides the most accurate results possible.
This plugin relies on Tide that constantly scans updated versions of plugins and themes in the background. Your scan results should be near real-time, but if not that just means Tide has not yet scanned your specific plugin or theme version. Please be patient as this may take up to 10 minutes for results to be returned from Tide. Please see the FAQ for more information.
Update to PHP 7.4
- Use this plugin to check your site for compatibility up to PHP 8.0!
- As of July 2022, 8.52% of WordPress websites run a PHP version older than PHP 7.0.
- These versions of PHP have been deprecated and unsupported for over 2 years.
- Only 7.1% of WordPress websites run PHP 8, the current main version of PHP.
Disclaimer
While this plugin is written to detect as many problems as accurately as possible, 100% reliable detection is very difficult to ensure. It is best practice to run comprehensive tests before you migrate to a new PHP version.
The plugin was created by WP Engine to help the WordPress community increase adoption of modern PHP versions. We welcome contributors to this plugin, and are excited to see how developers and other WordPress hosts use this plugin.
To disclose security issues for this plugin please email [email protected].
Questions
- 1. Will this work outside of the WP Engine hosting account?
Yes, this plugin can be used any ANY WordPress website on ANY host.
- 2. Are there WP-CLI commands available?
As of the 1.6.0 release this plugin no longer includes the
phpcompatWP-CLI command. If you still require use of that command, then please run version 1.5.2 or older of this plugin as those versions extend WP-CLI and provide commands.- 3. A plugin I created is listed as not compatible, what should I do?
We maintain a whitelist of plugins that cause false positives. If your plugin shows up as incompatible but you think that is wrong, please open a GitHub issue on the project, or email [email protected] with info about your plugin and why you know it is compatible (you have automated tests, the failure is on backwards compatibility code paths, etc).
- 4. Can I use this to test non-WordPress PHP Projects?
Yes! While you cannot use this WordPress plugin to test your non-WordPress projects, you can use the Open Source PHPCompatibility Library that this plugin is built on.
- 5. Why was my plugin/theme skipped?
If your plugin or theme is not available on WordPress.org, then Tide will not be able to scan or return results of that plugin or theme.
If your plugin or theme is available on WordPress.org, but Tide is not immediately returning results than it likely means Tide has not yet audited that plugin or theme and within a few minutes results should be available once Tide completes its audit.- 6. The scan is stuck, what can I do?
As of version 1.6.0 of this plugin, there should no longer be issues of the scan getting stuck as it no longer runs on your WordPress host server. If you are seeing significantly slow or unresponsive results from a plugin or theme that is available on WordPress.org, then please open an issue with those details for the Tide team to investigate why that specific plugin or theme version is not appearing in the Tide results.
- 7. I found a bug, or have a suggestion, can I contribute back?
Yes! WP Engine has a public GitHub repo where you can contribute back to this plugin. Please open an issue on the Plugin GitHub. We actively develop this plugin, and are always happy to receive pull requests.
The plugin was created by WP Engine to help the WordPress community increase adoption of modern PHP versions. We welcome contributors to this plugin, and are excited to see how developers and other WordPress hosts use this plugin. To disclose security issues for this plugin please email [email protected].
sandywp / also on the shelf
Try another plugin
100+ installs
Compatibility plugin for the WordPress theme Sullivan (sullivan).
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.