Linux 软件免费装
Banner图

DSSarl Upgrade Scanner for PHP Compatibility

开发者 medsalemkhattat
更新时间 2026年11月25日 07:55
PHP版本: 7.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

php version php 8 php compatibility compatibility checker php upgrade

下载

1.1.1

详情介绍:

Your host wants you on a newer PHP version. Will your plugins and themes keep working? DSSarl Upgrade Scanner for PHP Compatibility helps you prepare. It reads the PHP code of your plugins and themes and flags code that is likely to break, or is deprecated, on the PHP version you choose. You get a static analysis report organised by plugin or theme, then by file and line, so you (or your developer) know where to look before you switch. Everything runs on your own server. There is no outside service, no account, no API key, and your code is never sent anywhere. Because the scan is local, it also covers premium and custom plugins and themes that are not on WordPress.org. How it works
  1. Go to Tools → DSSarl Upgrade Scanner (administrators only).
  2. Pick the PHP version you plan to move to. Released PHP versions are offered (PHP 7.0 to 8.5, plus PHP 8.6 as a preview), and you check against one exact version, so you are not flooded with alerts about PHP versions that do not exist yet.
  3. Pick the plugins and themes to scan. Your active plugins and theme are selected by default.
  4. Click Scan. A progress bar shows the scan running in short batches. Cancel scan stops it at any time.
  5. Read the results: errors first, then warnings, grouped by plugin or theme, then by rule and by file and line.
Built for shared hosting Clear, usable results What it does not do Features Powered by open-source tools The scan engine uses the open-source PHP_CodeSniffer and PHPCompatibility projects. DSSarl Upgrade Scanner is an independent plugin by Digital Services SARL and is not affiliated with those projects. See "Credits / Third-party libraries" below. About coverage DSSarl Upgrade Scanner 1.1.1 uses PHPCompatibility 10.0.0-alpha3, a pre-release. It flags many known changes in recent PHP versions, but coverage of the newest PHP versions is not yet complete. A clean report means no known issue was flagged by the current rules; it is not a guarantee. We update the ruleset when new upstream releases are available. Trademarks PHP is a project of The PHP Group. DSSarl Upgrade Scanner for PHP Compatibility is an independent product of DIGITAL SERVICES – SARL and is not affiliated with, endorsed by or sponsored by The PHP Group or the PHP project.

安装:

  1. In your WordPress admin, go to Plugins → Add New, search for "DSSarl Upgrade Scanner" and click Install Now, then Activate. Or upload the dssarl-upgrade-scanner folder to /wp-content/plugins/ and activate it from the Plugins screen.
  2. Go to Tools → DSSarl Upgrade Scanner.
  3. Choose your target PHP version, choose the plugins and themes to scan, and click Scan.
Tip: run the scan before you change the PHP version in your hosting panel, and test the change on a staging copy of your site if your host offers one.

屏幕截图:

  • Scan in progress: a progress bar with the file count. You can leave the page (the scan continues in the background, more slowly) or cancel the scan.
  • Results summary: errors, warnings, files not scanned and files scanned for each plugin or theme, with the target PHP version, the rules version used and the disclaimer.
  • Findings for one plugin, by rule (example message and count, with "Ignore this rule everywhere" or only for this plugin) and by file, with third-party and development code labelled.

升级注意事项:

1.1.1 First version under the new name DSSarl Upgrade Scanner for PHP Compatibility. Rule codes are easier to read on phones, and the bundled WordPress and Paragonie rulesets are updated. PHPCompatibility rules unchanged (10.0.0-alpha3). 1.1.0 Adds a Download CSV button for the scan results and a PHP 8.6 (preview) target. No change to the rules or to how scans run. 1.0.0 First release. Scan your plugins and themes for likely PHP incompatibilities, locally on your own server.

常见问题:

Which PHP versions can I check against?

Only released PHP versions are offered: PHP 7.0 to 8.5, and PHP 8.6 (released in November 2026) as a preview. PHP 8.6 is marked "preview" because the bundled rules for it are not complete yet, so an 8.6 scan may miss some 8.6 issues and a clean 8.6 result does not mean your code is ready for 8.6; the results screen says so after an 8.6 scan. PHP 8.6 is never the default target. PHP versions that have not been released are never offered. You check against one exact version at a time; pick the version your host will move you to.

Does it send my code or site data anywhere?

No. The scan runs entirely on your own server. DSSarl Upgrade Scanner does not call any external service, needs no account or API key, and sends no code or site data anywhere.

Does it work with premium or custom plugins and themes?

Yes. Because the scan reads the files on your own server, it covers premium plugins, custom themes and any other code installed on the site, not only items from WordPress.org.

Why do I see a warning on a plugin that works fine today?

Warnings usually mean the code uses something that is deprecated: it still works on the version you chose but may stop working in a later PHP version. Some findings may also be in code that never runs on your site (for example a fallback for old PHP versions or a third-party library). Check whether an update is available, then ask the plugin author if you are unsure.

What is the difference between an error and a warning?

An error means the code is likely to break on the PHP version you chose. A warning means the code is deprecated or may break in a later version. Look at errors first.

What does "Skipped: too large for this server's memory limit" mean?

The file was too large to analyse within your server's memory limit, so DSSarl Upgrade Scanner skipped it instead of stopping the scan. The rest of the results are still valid. You can ask your host for a higher PHP memory limit and scan again, or ask the plugin author about that file.

Can I export the results?

Yes. Below the results, click Download CSV. You get one row per finding with the plugin or theme, its version, the file, line, severity, rule and message, plus the target PHP version, the scan date and the rules version. Findings you have chosen to ignore are left out, files that could not be scanned are included with the reason, and plugins or themes without findings are listed too. The download is limited to administrators (super admins on multisite). The file is created on your server and downloaded by your browser; nothing is sent anywhere, and the plugin does not keep a copy. Keep the file somewhere safe, as it lists the plugins and themes on your site and their versions.

Does it fix the problems it finds?

No. DSSarl Upgrade Scanner never edits files. It shows the plugin or theme, file, line and rule so you can update the plugin, contact its author, or ask a developer to fix it.

Does it change my PHP version?

No. Your PHP version is managed by your host. DSSarl Upgrade Scanner only reads code and reports.

If the report is clean, can I upgrade PHP without any risk?

A clean report means the current rules did not flag any likely incompatibility. It is a helpful check, not a guarantee. Static analysis cannot see everything code does at run time, and coverage of the newest PHP versions is still growing. Always keep a backup and, if possible, test on a staging site first.

Will the scan slow down my site?

The scan runs in short batches in the admin area only, not on the pages your visitors see. On large sites it may take several minutes. You can close the tab, it continues in the background, and you can cancel at any time.

Does it work on multisite?

Yes. On a multisite network, only network (super) admins can use it: Tools → DSSarl Upgrade Scanner appears on the main site only. Plugin and theme files are shared by the whole network, so one scan covers the network's plugins and themes. Results and settings are stored on the main site only, and uninstalling the plugin removes them from every site of the network.

Why are some files labelled "vendor" or "tests"?

These are third-party libraries or development files bundled inside a plugin or theme. They often contain code for many PHP versions or code that never runs on a live site. They are labelled so you can hide them and focus on the code that matters.

Privacy

Privacy: scanning runs entirely on your own server. DSSarl Upgrade Scanner does not send your code, files, scan results or any other site data anywhere. Scan results are stored in your site's own database (the latest scan only) and are deleted when you uninstall the plugin. Administrators can download the latest results as a CSV file. It lists your plugins and themes with their versions, file paths, line numbers and findings, but no visitor or user data and no passwords. The file is created on your server and goes straight to your browser; DSSarl Upgrade Scanner does not keep a copy or send it anywhere. Once downloaded, the file is yours to manage: treat it like other information about your site, because a list of plugins and versions can be useful to an attacker.

更新日志:

1.1.1 1.1.0 1.0.0