# Update PHP on Shared Hosting (No Shell, No Root)

By PHP Patch Assurance · Last updated: 2026-11-20

On shared hosting you cannot install PHP yourself, but you usually do not have to: the hosting panel lets each domain pick which installed PHP branch runs it. The update is a selection, not an install. The work is in the preparation — backup, compatibility, timing — and in verifying afterwards that the switch actually happened.

## Find your current version first

Check what the site runs today before changing anything: the panel usually shows it next to the PHP settings, and [the version guide](/guides/check-php-version) covers the other routes, including the [free scan](/scan) from outside. Compare it against [the lifecycle dates](/guides/php-release-lifecycle): if it is 8.1 or below, it is already end-of-life and receives no security fixes.

## Use the panel's PHP selector

In cPanel this is MultiPHP Manager (or the CloudLinux PHP Selector on hosts that run it): pick the domain, choose the target branch, apply. The change is per-domain and takes effect in seconds. Choose the newest branch your site supports — 8.3 or 8.4 are the safe targets today. Some hosts instead switch versions through AddHandler lines in .htaccess; use only the exact handler your host documents for this purpose, because a guessed handler line takes the site down instead of upgrading it.

## Before you switch: backup and compatibility

Take the panel's full backup first — files and database — and download it; a backup that lives only on the same host is a hope, not a backup. Then check compatibility: current WordPress, plugin and theme versions state the PHP branches they support, and a major branch jump can break old plugins (the [8.1-to-8.4 guide](/guides/upgrade-php-81-to-84) lists the changes that bite). Switch during your quietest hour, not your busiest.

## After the switch: verify, don't assume

Click through the site — home page, login, checkout or contact form, search — and read the panel's error log for the minutes after the switch. Confirm the new version with the scan. Most panels let you switch back in seconds; keep that option warm for a day before you consider the change settled, the same rollback discipline as [any other patch](/guides/rollback-php-update).

## When the host offers nothing current

If the selector tops out at an end-of-life branch — a host still offering only 7.4, which ended 28 Nov 2022, is the extreme case — open a support ticket and ask, in writing, when a supported branch will be available. A host that cannot answer is telling you the real position: the site has outgrown the hosting. Migrating to a host or a Docker setup on a supported branch is then the security fix, and the [end-of-life guide](/guides/php-eol-upgrade) covers the interim mitigations honestly, including their limits.

## Frequently asked questions

### Will switching PHP versions break my site?

A patch-level change, no. A branch jump can, if a plugin relies on behavior that changed — which is why the order is backup, compatibility check, quiet-hour switch, click-through verification, and a day with the switch-back option warm.

### Can PHPatch patch my shared hosting for me?

Stated plainly, as on the patch page: paid patching covers Docker runtimes, and shared hosting without Docker is outside that scope. The free scan and every guide here work the same regardless — and the panel route in this guide is genuinely a self-service job.

### The panel shows several PHP versions per domain. Which is real?

The one selected for the domain serving the site. Hosts keep multiple branches installed side by side; subdomains and addon domains can each run a different one. Verify per domain with the scan rather than trusting the panel's summary line.
