📢 LordCloud support has moved to Ballastra — Join now →
Docs

PHP configuration

Change PHP versions, adjust limits like memory and upload size, and enable extensions.

1 min read Some details need confirmation
On this page

Change the PHP version#

  1. Open MultiPHP Manager.
  2. Tick the domain, choose a version from the dropdown and apply.

Use the newest version your application supports — newer PHP versions are faster and still receive security fixes.

Change limits#

Open MultiPHP INI Editor, select the domain and adjust:

Setting Common value What it controls
memory_limit 256M RAM per PHP request
upload_max_filesize 64M Largest single upload
post_max_size 64M Must be at least upload_max_filesize
max_execution_time 120 Seconds before a script is stopped
max_input_vars 3000 Needed by large WordPress menus and forms

Plan limits still apply — you can't set memory_limit above what the account allows.

Extensions#

If your app needs an extension (such as intl, imagick or sodium), look for Select PHP Version or PHP Extensions in cPanel.

WordPress performance basics#

  • Use a recent PHP version.
  • Install one reputable caching plugin.
  • Optimise images before uploading.
  • Remove unused plugins and themes.
Have a question? Chat with us👋