A PHP upgrade becomes harder to plan when important parts of an application are SourceGuardian-protected and you no longer have the readable source. A SourceGuardian decoder can help recover supported PHP files so you can inspect them, identify maintenance work, and test the application before moving servers.

Readable code is one part of that process. You still need to check the application's dependencies and behavior on the PHP version you intend to use. Start with the free SourceGuardian decoder preview, then use the checklist below to organize the rest of the recovery.

Preview first. Plan the upgrade from real code.

Use an original protected file from your application. Review the preview before purchasing full output or processing a larger archive.

Record the environment you are moving from

Before changing the server, note the current PHP version, application release, required extensions, database version, and framework or CMS dependencies. Keep a backup of the application and its configuration. These details help distinguish a source-code issue from a missing extension, database connection, or environment setting later.

Choose a specific target PHP version for the upgrade. “PHP 8” is too broad for a useful test plan: different minor versions can introduce changes that affect an older application. The PHP manual provides version-specific migration guides, including its PHP 8.2 migration guide, which links to compatibility changes that should be checked before production changes.

Use the correct decoder and the original file

Submit a SourceGuardian-protected PHP file rather than a screenshot, a pasted block of encoded text, or a file already modified by another tool. Keep the original bytes intact. If you are unsure which protection your project uses, read how to identify a SourceGuardian file.

Choose a representative part of the application, such as a controller or a helper used by an important page. The preview lets you inspect a limited portion of the recovered code. Check the result for the structures you expect, and review any available PHP or Encoder information alongside the actual file result.

If the file uses ionCube instead, switch to the ionCube decoder. The two protection formats require their corresponding recovery options.

Keep related application files together

When you need more than a single file, submit a ZIP with the relevant PHP files and their directory structure. A controller may rely on helpers, configuration, or other application components. A recovered function cannot tell you whether a separate dependency will be installed on the replacement server.

After processing, expand the file list. Review the files that decoded successfully, the readable files kept unchanged, and any remaining entries. Download available results while you investigate an incomplete request. Complete output should be checked against the files you expected to recover, rather than judged only by an archive-level status.

AseWeb offers credit packs and subscriptions for full recovery; compare the current options on the pricing page. For repeated uploads from your own tooling, the SourceGuardian decoder API guide covers the API workflow and result notifications.

Check the recovered PHP against your target version

Recovery makes supported protected code available to inspect. It does not automatically replace deprecated APIs, update a framework, or modernize every assumption in an older application. Review the migration notes for the versions you are crossing and test the code against the runtime you selected.

A useful first check is a syntax check on a recovered file:

php -l path/to/recovered-file.php

Run this with the PHP binary for your target environment. As the PHP command-line documentation explains, -l checks syntax. It does not execute the application or prove that its database queries, integrations, and complete workflows will behave correctly.

Review include paths, required extensions, configuration constants, class dependencies, and application entry points. A path left over from a developer's machine or a setting supplied by the old server may need attention in the migration, even when the PHP file parses successfully.

Test the workflows that matter to your users

Build a separate staging environment with the intended PHP version and the application's real dependencies. Exercise login, administration screens, forms, background jobs, uploads, and any external integrations the project uses. Test meaningful actions and inspect their results; loading the home page is only one check.

For a WordPress project, use a suitable staging copy and follow the WordPress debugging guidance when investigating errors. The WordPress plugin recovery checklist also describes which plugin workflows to review after recovering protected PHP.

Keep your original files and a downloaded copy of the recovered project. AseWeb retains uploaded and decoded files for seven days. Save the results before the expiry shown in your history so that a planned migration is not dependent on an expiring download link.

Common questions

Does a successful decode guarantee compatibility with a newer PHP version?

No. It gives you reconstructed PHP for supported files. Compatibility with a different runtime needs its own syntax and application tests.

Can I try the SourceGuardian decoder before buying?

Yes. Use the public preview to inspect a limited result from your actual file, then choose full recovery if it meets your needs.

What should I do if only part of my archive completes?

Review the per-file results, download available output, and collect the details for the remaining entries. Contact support with the relevant request and file information if you need help.

Make your next PHP upgrade easier to plan

Try the SourceGuardian decoderView your recovery history →

Related guides

Recover readable SourceGuardian PHP onlineAutomate SourceGuardian recovery with the APIChoose the correct PHP decoder