# PHP settings: memory, uploads, execution time and input variables

> Change PHP memory limit, maximum upload size, maximum execution time and maximum input variables for your Managed WordPress site, within plan limits.

Source: https://docs.phluit.com/products/managed-wordpress/wordpress-php-settings/

Besides the PHP version, you can set four PHP limits for each site. The plan's default value is marked **(plan default)** in each list, and you can choose other values within your plan's limits.

## The settings

### Memory limit (memory\_limit)

How much memory a single page load or task may use. Raise it if you see errors such as "Allowed memory size exhausted", or if a page builder, shop or import needs more. Choices: 128 MB, 256 MB, 512 MB, 1 GB and 2 GB. Which of these you can choose depends on your plan.

### Maximum upload size

The largest file you can upload in WP Admin, for example a video in the media library, a plugin or theme file, or an import file. Choices: 32 MB, 64 MB, 128 MB, 256 MB and 512 MB.

### Maximum execution time

How long a single request may run before it's stopped. Raise it if long imports, exports or backups made by plugins stop halfway. Choices: 30, 60, 120, 180 and 300 seconds.

### Maximum input variables

How many fields a single form submission may contain. Raise it if a large menu, a page builder layout or a settings page doesn't save completely. Choices: 1,000, 3,000, 5,000 and 10,000.

## Change the settings

1.  In the portal (**portal.phluit.com**), go to **Services** and open your Managed WordPress plan.
2.  If your plan has more than one site, click the site in the list at the top of the panel.
3.  Open the **WordPress** tab and scroll to **PHP**.
4.  Choose new values in the lists you want to change.
5.  Click **Save PHP settings** and confirm.

We back the site up first, then restart it on the new settings. This takes about a minute. The change is recorded on the **Activity** tab as **PHP settings changed**.

## Tips

-   **Change one thing at a time**, and only as much as you need. Higher values don't make a site faster. A very high execution time can even hide a slow or stuck plugin.
-   **Go back to the defaults** by choosing the values marked **(plan default)** and saving again.
-   **Each site has its own settings.** Changing one site doesn't affect the others in your plan.
-   If you choose a value your plan doesn't allow, the panel shows _"That value is not available on your plan."_

## Checking the values in WordPress

In WP Admin, go to Tools, Site Health, then Info, and open the Server section. It shows the PHP version and limits your site is using.

## Related

-   [Changing your PHP version](/products/managed-wordpress/wordpress-change-php-version/)
-   [Redis object cache add-on](/products/managed-wordpress/wordpress-redis-object-cache/)
