Linux 软件免费装
Banner图

Upgravo – PHP Compatibility Checker & Scanner

开发者 nicolassalinas
更新时间 2026年11月25日 00:42
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv3 or later
版权网址: 版权信息

标签

php version php compatibility compatibility checker php upgrade php update

下载

0.1.9 0.1.11 0.1.6 0.1.12 0.1.10 0.1.7 0.1.8

详情介绍:

PHP 8.2 stops getting security fixes on 31 December 2026. PHP 8.1 and older already get none, and hosts are moving sites to PHP 8.3, 8.4 and 8.5. Before you change the PHP version, you want to know one thing: will my site break? Upgravo reads the code of every plugin and your theme, on your own server, and gives you a straight answer: Fewer false alarms A raw PHPCompatibility scan of the 20 most installed WordPress.org plugins (20,100 PHP files) reports 165 "errors" for PHP 8.4. Every one of them is code that never runs on PHP 8: old fallbacks behind function_exists(), extension_loaded() or a PHP version check. A checker that shows them all tells you that your site is broken when it is not. Upgravo recognises those guards, but only when the guard names the exact function, constant or class it protects: function_exists( 'a' ) around a call to b() does not hide b(), and a call inside if ( ! function_exists( 'x' ) ) is still reported. Findings that only apply to the PHP version you already run are hidden too, because your site already lives with them. Nothing is thrown away: every hidden finding can be expanded, with the reason it was hidden. Designed for any hosting For freelancers and agencies Hosts send the same email to all your clients: "your PHP version is going away". Install Upgravo on each site, scan, and use Copy summary to answer the client with a list of what breaks and what to do first. The free plugin has no site limit. Upgravo Pro adds what you need when you maintain many sites: scheduled scans with an email when a plugin update introduces an incompatibility, a PDF report with your name for the client, a whitelist of reviewed findings per plugin, and multisite (one scan for the whole network). Built on PHPCompatibility The analysis engine is PHPCompatibility (176 rules maintained by the PHP community since 2012) running on PHP_CodeSniffer, bundled inside the plugin, plus Upgravo's own detectors for PHP 8.2 dynamic properties and relative callables. It reads code; it does not run it. A static scan cannot see problems that only appear at runtime, so treat "nothing breaks" as "nothing we can see breaks", and keep a backup before any upgrade. External services By default Upgravo makes no external requests. It only uses the plugin data that WordPress itself already downloaded from WordPress.org when it checked for updates. If you tick "Also check on WordPress.org whether each plugin is still maintained" on the Upgravo screen, Upgravo sends the folder name (slug) of each scanned plugin to the WordPress.org Plugin API (https://api.wordpress.org/plugins/info/1.2/) after a scan, to read whether the plugin was closed and when it was last updated. Nothing else about your site is sent. Answers are cached for 24 hours. The service is provided by WordPress.org, under its privacy policy. Untick the box to stop it. Third-party libraries included Source code The free plugin is developed in the open: https://github.com/nis-prog/upgravo (support stays in the WordPress.org forum).

安装:

  1. Install from Plugins → Add New (search for "Upgravo"), or upload the upgravo folder to wp-content/plugins/.
  2. Activate it.
  3. Go to Upgravo in the admin menu, pick the PHP version you plan to upgrade to, and click Scan plugins and theme.
  4. Read the verdict. The Plugins screen also shows the result next to each plugin.

屏幕截图:

  • Detail grouped by rule, with file and line, bundled-library count and the hidden findings with their reason.
  • The scan runs in short batches with a progress bar, safe on shared hosting.
  • The verdict also shows up in Tools → Site Health.
  • After a scan, the Plugins screen shows each plugin's result for the target PHP version, with maintenance flags.
  • The verdict with what to do first, the Copy summary button and the optional WordPress.org maintenance check.

常见问题:

How do I run a PHP upgrade check on my WordPress site?

Install Upgravo, choose 8.4 as the target and run a scan. It checks every active plugin, the theme (and its parent), must-use plugins and drop-ins against PHP 8.4, and tells you whether anything active breaks. It takes one to two minutes on a typical site.

How do I update PHP in WordPress without breaking my site?

  1. Take a backup. 2. Scan with Upgravo against the new PHP version. 3. Update or replace the plugins that break; the "What to do first" box lists them in order. 4. Change the PHP version in your hosting panel (ideally on a staging copy first). 5. Browse the site and check the error log for a day.

Which PHP version should I upgrade to?

The newest one your host offers and your plugins support. Scan against it: if nothing breaks, go for it. If something breaks, scan against the version below and compare. PHP 8.1 and older no longer get security fixes, and PHP 8.2 stops on 31 December 2026.

What happens if I upgrade PHP and a plugin is not compatible?

If the plugin uses a function that no longer exists, the site shows a fatal error ("There has been a critical error on this website") on the pages where that code runs, sometimes the whole site and the admin. Deprecation notices do not break anything; they only fill the error log. Upgravo tells you which one you have.

My host says my PHP version is end of life. What do I do?

Scan with Upgravo against the version your host proposes, fix what breaks, then upgrade. If you manage the site for a client, the Copy summary button gives you a text to send them.

Is my theme checked too?

Yes: the active theme and, if it is a child theme, its parent.

Does it check custom and premium plugins?

Yes. Upgravo reads the code that is installed on your site, so it works for plugins bought outside WordPress.org and for code written for you, not only for plugins listed in a directory.

Does it send my code anywhere?

No. Everything runs on your server, inside WordPress. The only optional request is the maintenance check described under "External services", which sends plugin folder names, never code.

Does it need exec() or shell access?

No. That is why it works on SiteGround, Kinsta, WP Engine and other hosts that disable exec().

How long does a scan take?

About 15 ms per PHP file. A site with WooCommerce and a dozen plugins (5,000 files) takes one to two minutes. The scan runs in batches of a few seconds each, so it is safe on any host.

What is the difference between "Breaks" and "Notices"?

"Breaks" means a fatal error on the target PHP version: a function that no longer exists, an argument order that is no longer accepted. "Notices" means the code still works but PHP marks it as deprecated and logs a message; it will break in a future version.

Why are some findings hidden?

Because they would mislead you. Hidden findings are code that only runs on old PHP versions (guarded by function_exists() or version_compare()), things that already apply to the PHP version you run today, analyzer housekeeping, and style advice. You can expand them and see the reason for each one.

Is "nothing breaks" a guarantee?

No. Upgravo reads code without running it, so it cannot see problems that only appear at runtime (for example code built from strings or loaded from the database). It removes the guesswork, not the backup.

Does it check inactive plugins?

By default only active plugins, the active theme (and its parent), mu-plugins and drop-ins. Tick "Include inactive plugins" to scan everything.

Does it work on multisite?

Yes, scanning requires a super admin because plugins belong to the whole network. Upgravo Pro adds a single network screen that scans what every site uses.

Can I run it from the command line?

Yes: wp upgravo scan --target=8.4 --inactive --format=table. Exit code 1 means something active breaks.

Is there a Pro version?

Yes. Upgravo Pro adds scheduled scans with an email when an update introduces an incompatibility, a PDF report for clients, a whitelist of false positives per plugin, and multisite support. Everything in the free plugin stays free. Details at phpready.com.

更新日志:

0.1.12 0.1.11 0.1.10 0.1.9 0.1.8 0.1.7 0.1.6 0.1.5 0.1.4 0.1.3 0.1.2 0.1.1 0.1.0