Skip to content

Change PHP settings

Pick a PHP version from 8.3 to 8.5, set memory, run time, and upload limits, and let WP Waterfall roll back a version that breaks your homepage.

The PHP card on the Tools tab sets the PHP version and the PHP limits of one environment. After a version change, WP Waterfall checks your homepage and switches back if it fails.

How do I change the PHP version?

  1. Open the site, pick the environment in the top bar, and choose Tools.
  2. On PHP, click Modify, choose Change version, and pick a version from 8.3 to 8.5.
  3. Save.

The change runs as a job after a system snapshot. New sites start on PHP 8.5. If an older plugin or theme fails on it, move the environment to 8.4 or 8.3. WP Waterfall does not offer PHP 8.1 or 8.2 for a new site or a version change. A site that runs one keeps it in the list as its current version, and once the site moves to a newer version it cannot go back.

What happens if my homepage breaks?

WP Waterfall requests your homepage on the new version. If it answers with a server error, WP Waterfall switches back to the old version and shows the reason. A plugin or theme that does not support the new version is the usual cause. Fix or replace it on staging, then try again.

How do I change memory, run time, and upload limits?

On PHP, click Modify, choose Change settings, set the values, and save. The dashboard sets the memory limit, the upload limit, and the maximum run time (1 to 600 seconds). The API also sets max_input_vars, post_max_size, and display_errors.

Change the version and the limits in separate saves, so each change can roll back or fail on its own. The API answers 422 if one request carries both.

How large a file can I upload?

PHP takes uploads up to 64 MB until you change the upload limit. An upload through a browser, such as the WordPress media library or a form on your site, also passes through our edge network, which takes at most 100 MB in one request. A higher PHP limit does not change that, and a larger upload answers 413.

To add a larger file, use SFTP, which does not pass through the edge.

Can I change many sites at once?

Yes. Tick the sites in the Sites list and pick the action. WP Waterfall runs one job group and shows a result per site.

Does WP Waterfall install PHP security fixes?

Yes, by itself. PHP patch releases, such as 8.4.27 to 8.4.28, apply automatically, usually within an hour of their release. Every site checks for them once an hour. When one is out, WP Waterfall installs it, restarts PHP, and checks that your homepage still loads. The restart takes a second or two, and a visitor in that moment may see a slow page or one error.

A patch release never changes your PHP version: a site on 8.4 stays on 8.4. To move to a newer version, use Change version above. If a homepage stops loading after a patch release, our team is told at once and looks at it. Nothing is rolled back without a person.

What happens when a PHP version reaches end of life?

A version past end of life gets no security fixes. Turn on Upgrade automatically before a version reaches end of life in the Modify dialog. The day after a version stops getting security fixes, WP Waterfall moves the site to the next supported version, checks the homepage, and rolls back if the check fails.

PHP 8.1 reached end of life in December 2025, and the last day of security fixes for PHP 8.2 is December 31, 2026. You cannot pick either one for a new site or switch a site to it. A site already on 8.1 or 8.2 keeps working, and you can still restart, deploy, and copy it, until the day the version leaves. WP Waterfall removes PHP 8.1 and 8.2 on March 31, 2027; the PHP card shows the day. Sites on a leaving version get an email 60 days before and again in the last week.

My site runs PHP 8.1 or 8.2. What should I do?

Move it to PHP 8.3 or newer. A site runs 8.1 or 8.2 because it ran it before the version closed, or because you migrated it from a host that ran it. The Info tab, the PHP card, and the version dialog show one sentence with the end of life day of your version. Try the newer version on staging first: WP Waterfall checks the homepage after the change and switches back if it fails.

On the day, WP Waterfall moves a site still on the version to PHP 8.3 with the same homepage check. If the check fails, the site goes back to its version and is paused until you pick a newer one on the PHP card; the card and the Info tab say so, and picking a version resumes the site. After the day, a removed version cannot restart, deploy, or build: the API answers 422 with the code php_version_removed.

Quick answers

WP Waterfall switched my site back to the old version. The homepage returned a server error on the new version. Test the new version on staging and fix the failing plugin or theme.

Why does the API answer 422 for PHP 8.1 or 8.2? The error code is php_version_end_of_life: both versions are closed to new use. Choose PHP 8.3 or newer. The one request that may name 8.1 or 8.2 is a migration (POST /v1/migrations), for a site that runs that version on its old host.

Why does a migration onto PHP 8.2 answer "No server in this location can run a site on PHP 8.2 right now"? Not every server has PHP 8.2. Choose PHP 8.3 or newer, pick another location, or ask support.

Why did a job fail with php_version_not_installed? The server the site runs on does not have that PHP version. Choose PHP 8.3 or newer, or ask support to move the site to a server that has it. The site keeps the version it runs.

Why does the API answer 422 with php_version_removed? The site runs a version WP Waterfall removed. Change it to PHP 8.3 or newer on the PHP card, then try again.

Can I undo a PHP change? Yes. WP Waterfall keeps the snapshot it took before the change for 48 hours. Restore it from Backups.

API and MCP

  • PUT /v1/environments/{id}/tools/php-settings takes php_version, auto_eol_upgrade, or ini.
  • PATCH /v1/environments/{id} also changes php_version, with the same rollback.
  • POST /v1/bulk changes many sites.
  • MCP tool: set_php_version.

Still stuck?

Email support at wpwaterfall dot com with your site name and what you tried, or send us a message.