Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

PHP Compatibility Checker


WP Engine PHP Compatibility Checker può essere utilizzato da qualsiasi sito web WordPress su qualsiasi host web per verificare la compatibilità della versione di PHP.

Questo plugin lascerà il tema e il codice del plugin all’interno del tuo file system WordPress e ti restituirà un rapporto sui problemi di compatibilità da risolvere. I problemi di compatibilità sono suddivisi in errori e avvisi di cui verranno elencati il numero di file e di riga del codice incriminato e le informazioni sul motivo per cui tale riga di codice non è compatibile con la versione scelta di PHP. Il plugin suggerirà anche aggiornamenti a temi e plugin, dato che una nuova versione potrebbe offrire un codice compatibile.

Questo plugin non esegue il codice del tema e del plugin, perciò questo plugin non è in grado di rilevare i problemi di compatibilità in runtime.

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.

Questo plugin si basa su WP-Cron per eseguire la scansione dei file in background. La scansione si bloccherà se il WP-Cron del sito non funziona correttamente. Si prega di consultare le FAQ per maggiori informazioni.

Aggiorna a PHP 7.3

  • Usa questo plugin per verificare la compatibilità del tuo sito fino a PHP 7.3!
  • A partire da luglio 2019, il 20.1% dei siti WordPress viene eseguito su una versione PHP superiore a PHP 5.6.
  • These versions of PHP have been deprecated and unsupported for over 2 years.
  • Solo il 54.1% dei siti WordPress esegue PHP 7, l’attuale versione principale di PHP.


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.

Per comunicare dei problemi di sicurezza per questo plugin, inviare un’email a
PHP Compatibility Checker include il supporto per i comandi WP-CLI:

wp phpcompat <version> [--scan=<scan>]

    PHP version to test.

  Whether to scan only active plugins and themes or all of them.
  default: active
    - active
    - all

Esempio: wp phpcompat 7.2 --scan=active


  • Schermata principale: opzioni di controllo compatibilità
  • Schermata dei risultati di compatibilità


Note: If you have WordPress 2.7 or above you can simply go to ‘Plugins’ > ‘Add New’ in the WordPress admin and search for “PHP Compatibility Checker” and install it from there.

To manually install:
1. Upload phpcompat to the /wpengine-wp-content/plugins/ directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress

You will find the plugin options in the WP Admin Tools => PHP Compatibility menu. Once you click run it will take a few minutes to conduct the test. Feel free to navigate away from the page and check back later.

There are WP-CLI commands available see the Other Notes tab for details.


  1. Funzionerà al di fuori dell’account di hosting di WP Engine?

    Sì, questo plugin può essere utilizzato per QUALSIASI sito web di WordPress su QUALSIASI host.

  2. Sono disponibili i comandi WP-CLI?

    Yes, this plugin does extend WP-CLI and provide commands. See the Other Notes tab for details.

  3. Un plugin che ho creato è elencato come non compatibile, cosa dovrei fare?

    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 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. Posso usarlo per testare progetti PHP che non usano WordPress?

    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. Perché il mio plugin/tema è stato ignorato?

    Some servers have timeouts to prevent long running queries, this is commonly 60 seconds. This can prevent the checker from being able to process large themes or plugins. You should check with your host to see if this timeout can be temporarily removed. The best way around this timeout issue is to run this plugin on a local copy of your site, or you can use the WP-CLI command.

    Puoi utilizzare il filtro wpephpcompat_scan_timeout per personalizzare il timeout della scansione. Vedi questo per esempio

    Imposta il timeout a 0 per disabilitare il cron/timeout.

  6. La scansione è bloccata, cosa posso fare?

    The PHP Compatibility Checker relies on WP-Cron to process plugins/themes in batches, this is necessary to avoid server timeouts. The scan will get stuck if your site’s WP-Cron isn’t functioning. You can look into this using WP Crontrol. The cron is called wpephpcompat_start_test_cron. This could also be an issue if your site is using basic authentication.

    Puoi anche utilizzare i comandi WP-CLI o disabilitare il timeout per evitare l’uso di WP-Cron.

  7. Ho trovato un bug o ho un suggerimento, posso contribuire?

    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.

Per comunicare dei problemi di sicurezza su questo plugin, inviare un’email a


25 Febbraio 2023
In the process of Migrating a super old WordPress site on PHP 5.6 to 7.4. This plugin broke the site, and left some composer dependencies around which force me to re-install WordPress from scratch.
4 Febbraio 2023
I'm amazed that this is the only plugin recommended to be run before the latest Wordpress PHP update. It says that its not compatible with my PHP 7.2 and clearly that's true. It hangs repeatedly, sometimes throwing a error status of 0.
Leggi tutte le recensioni di 124

Contributi e sviluppo

“PHP Compatibility Checker” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.


“PHP Compatibility Checker” è stato tradotto in 21 lingue. Grazie ai traduttori per i loro contributi.

Traduci “PHP Compatibility Checker” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)


  • Removed PHP 5.2 checks
  • Fixed PHP 8 issue where plugin cannot cannot be uninstalled.


  • Added Smart Plugin Manager to whitelisted plugins


  • Added support for PHP 7.3 compatibility checks


  • Update dependencies.


  • Better translation support.


  • Switched to new PHPCompatibilityWP library to help prevent false positives.


  • Use plugin version number to enqueue scripts and styles.


  • PHP 5.2 Support & PHP 7.1 and 7.2 Lints.
  • Updated call to action sidebar depending on platform.


  • Fixed Composer issue.


  • Updated PHP_CodeSniffer to fix a security advisory.
  • Whitelisted a number of plugins.


  • Updated UX for viewing PHP errors to be more intuitive and require less scrolling.
  • Added links for non-technical users who need assistance from developers to fix PHP errors or to test their site in PHP 7 enabled hosting environments.


  • Added a “Clean up” button and uninstall.php.
  • Added phpcompat_phpversions filter.


  • Whitelisted a number of plugins.


  • Updated the PHPCompatibility library to latest version. Should fix many false positives.
  • Changed language and added help text to Admin UI.


  • Fixed Composer issue.


  • Updated the PHPCompatibility library to latest version.
  • Whitelisted TablePress.


  • Whitelisted UpdraftPlus and Max Mega Menu.


  • Updated the PHPCompatibility library to latest version


  • Updated the PHPCompatibility library to latest version
  • Added support for PHP 5.6


  • Fixed issue with WordPress notices breaking the plugin header.
  • Changed the way we send and parse JSON.
  • You can now restart an in progress scan.
  • Updated download.js to v4.2 for better Safari compatibility.


  • Fixed bug with active job display.
  • Updated progress bar calculation.


  • Test results now persist page reloads.
  • Failed tests will show an overview of the results.
  • The scan timeout is now configurable using a filter. See the FAQ for more details.


  • Fixed a bug in the WP-CLI command
  • Added a handful of PHP 7 compatible plugins to the whitelist


  • Added additional role protections
  • Changed the UI colors to better understand output at a glance
  • Exclude checking node_modules and tmp directories
  • Added support for child theme’s parent theme


  • Updated compatibility library with a few bugfixes
  • Added skip logic to prevent checker from hanging


  • Major update to add PHP 7 checking support
  • Improved the UX of the progress bar
  • Fixed bug with the way the plugin menu was registered


  • Initial version
  • PHP 5.5, 5.4, and 5.3 Support
  • Basic WP-CLI Commands