For most site owners, managed PHP hosting is safer for updates than a self-managed server. The host handles PHP version changes, security patches and rollbacks on your behalf, so a single forgotten update does not leave your site exposed. Self-managed gives you total control, but every patch, dependency and backup becomes your responsibility. The short answer: choose managed if you want the host to carry the update risk; choose self-managed only if you have the skills and time to patch on a schedule.
What You'll Need
- A clear picture of which PHP version and extensions your site actually uses (check your host's control panel or a phpinfo page).
- Access to your hosting account, plus SSH or SFTP if you plan to test on a self-managed server.
- A staging environment or a recent backup you can restore from.
- A written update routine: who patches, how often, and how you verify the site still works.
Step-by-Step
- Inventory your stack. List your PHP version, framework (Laravel, WordPress, custom code), database version and any PHP extensions. This tells you what an update will touch.
- Check what your host already patches. On managed plans, open the host's dashboard and look for the PHP version selector and a security-updates or patching section. Labels differ by host and version, so read the wording carefully. If the host only offers a PHP version dropdown and no automatic patching, you are closer to self-managed than you think.
- Confirm the update policy in writing. Ask support: do you apply PHP security patches automatically, do you notify before a minor version change, and can I roll back? Managed hosts usually answer yes to all three; self-managed hosts answer no.
- Set up a staging copy. On managed hosting, use the one-click staging or clone feature if offered. On self-managed, copy the site to a subdomain or local environment and point it at a copy of the database.
- Test the update on staging first. Switch the staging PHP version, run the site, test logins, forms, checkout and any plugins. Note errors in the log rather than guessing from the front end.
- Schedule the production update. Managed: pick a maintenance window and let the host apply the patch, or trigger it from the panel. Self-managed: run your package manager or update script, then restart PHP-FPM.
- Verify after the update. Load key pages, check the error log, confirm the PHP version reported by phpinfo matches what you intended, and test one transaction end to end.
- Keep a rollback path. Take a snapshot before every change. Managed hosts often include rollback; on self-managed, your backup is the rollback.
- Repeat on a schedule. Monthly for minor patches, immediately for security releases. Put it in a calendar so it is not forgotten.
Common Mistakes
- Assuming "managed" means "fully automatic." Some managed plans patch PHP but not your CMS plugins, and some patch only on request.
- Updating production first. Always test on staging or a copy.
- Ignoring PHP end-of-life dates. An unsupported PHP version stops receiving security fixes, which is the single biggest update risk.
- Forgetting extensions. A PHP upgrade can break an extension your site depends on; check before switching.
- No backup before the change. Without one, a failed update becomes an outage.
Tips
- Ask the host for a written patching schedule; verbal assurances are hard to rely on.
- Keep PHP within one minor version of the current supported release to reduce jump risk.
- Pin your dependencies and update them deliberately rather than letting everything drift.
- Log every update with date, version and who did it, so troubleshooting has a timeline.
- On self-managed servers, enable automatic security updates for the OS packages and handle PHP manually.
Troubleshooting
If the site breaks after an update, restore the snapshot or backup first, then diagnose on staging. Check the PHP error log and the web server log for the first failure, not the last. If a plugin or extension is the cause, disable it on staging and retest. If the host applied a change you did not expect, ask which version was applied and when, and request a rollback. If PHP reports the old version after an update, clear opcache and restart PHP-FPM. If the panel shows no update option, the plan may not include managed patching; confirm with support before assuming it does.
Frequently Asked Questions
Is managed hosting always safer?
For most users, yes, because the host patches PHP and the server stack. It is not safer if the host does not patch your CMS or plugins, so confirm the scope.
Can I update PHP myself on managed hosting?
Often yes through a version selector, but the host may control timing. Ask before relying on it.
What happens if I run an unsupported PHP version?
You stop receiving security fixes, which raises breach risk. Move to a supported version on staging first.
Do I still need backups on managed hosting?
Yes. Host backups help, but keep your own copy so a host-side failure or account issue does not take your only restore point.
Which is cheaper?
Self-managed is usually cheaper in fees and more expensive in time and risk. Managed costs more but shifts the patching burden to the host.