RemarkableCloud

Change PHP Version and Settings in cPanel

How to change the PHP version and PHP settings such as memory_limit, upload_max_filesize and max_execution_time for a cPanel account using Select PHP Version (CloudLinux PHP Selector).

Updated November 2026

RemarkableCloud cPanel servers run CloudLinux, and each hosting account picks its PHP version and PHP settings from Select PHP Version (the CloudLinux PHP Selector) in cPanel. Use it when an application asks you to “increase the PHP memory_limit”, when uploads fail because of a size limit, or when a plugin requires a newer PHP version.

Typical messages that point here:

  • Allowed memory size of 134217728 bytes exhausted
  • Import failed due to insufficient memory. Please increase the PHP memory_limit
  • Your Composer dependencies require a PHP version ">= 8.3.0"
  • The uploaded file exceeds the upload_max_filesize directive

Change the PHP version

  1. Log into cPanel for the account that hosts the website.
  2. Go to Software → Select PHP Version.
  3. Next to Current PHP version, open the dropdown and choose the version your application needs (for current WordPress, WooCommerce and most plugins, PHP 8.3).
  4. Click Set as current. The change applies immediately.

Reseller accounts: if the website lives in one of your client accounts, open WHM, go to Account Information → List Accounts, and click the cPanel icon next to that account. Then follow the same steps inside that account’s cPanel.

Change PHP settings (memory_limit and others)

  1. In Software → Select PHP Version, click the Options tab.
  2. Find the setting you want to change, for example memory_limit.
  3. Pick the new value from its dropdown. The change is saved as soon as you select it.
  4. Reload your website, or retry the action that failed.

Common settings and suggested values:

SettingWhat it controlsSuggested value
memory_limitMaximum memory one PHP request can use256M for most sites, 512M for WooCommerce, page builders and template or demo imports
upload_max_filesizeLargest single file you can upload64M or more if you upload large media or backups
post_max_sizeLargest form submission (must be at least upload_max_filesize)Same as or larger than upload_max_filesize
max_execution_timeSeconds a script may run before it is stopped300 for imports and migrations

Settings are stored per PHP version: the Options tab shows the settings of the PHP version that is currently selected. If you switch to a different PHP version later, check the Options tab again and set your values for the new version, because the new version starts with its own defaults.

Use Select PHP Version, not other editors: on CloudLinux servers the website runs the PHP version chosen in Select PHP Version, so make PHP changes there. Values placed in MultiPHP INI Editor, a .user.ini or php.ini file in the website folder, or php_value lines in .htaccess may not take effect.

Check that the new value is active

For WordPress:

  1. Log into the WordPress dashboard.
  2. Go to Tools → Site Health → Info.
  3. Open the Server section and check PHP version and PHP memory limit.

If WordPress cannot load at all (for example, it shows a critical error because it runs out of memory), raise memory_limit first and then reload the site.

Choosing a sensible limit

Raising memory_limit lets a single request use more memory, but it does not give your account more total memory. The account’s overall resources are still governed by its CloudLinux limits (see CloudLinux Limits & LVE Manager). Keep the value as low as your application allows: 256M or 512M covers almost every WordPress site. If a site still runs out of memory at 512M on a normal page load, a plugin or theme is usually misbehaving, and raising the limit further only hides the problem. In that case, contact support and we will help you find the cause.

Still stuck? Ask a human, we answer in minutes.