Changing Your PHP Version and PHP Settings Print

  • 0

You can select the PHP version and adjust common PHP limits per domain, without contacting support.

Changing the PHP version

  1. In cPanel, open Software → Select PHP Version (also called MultiPHP Manager).
  2. Select the domain you want to change.
  3. Choose the PHP version from the dropdown and click Apply.

Modern WordPress, Laravel and most current applications run best on PHP 8.1 or newer. Older scripts may require PHP 7.4 — test your site immediately after switching, and switch back if something breaks.

Enabling PHP extensions

On the same page, the Extensions tab lists available modules such as imagick, soap, intl and zip. Tick what your application needs and save. If an extension you need is missing, open a ticket.

Adjusting PHP limits

Use the Options tab to change values such as:

  • memory_limit — raise it if you see "allowed memory size exhausted"
  • upload_max_filesize and post_max_size — raise both to upload larger files
  • max_execution_time — raise it for long imports
  • max_input_vars — raise it if large menus or forms save incompletely

Checking the result

Create a file named info.php in public_html containing <?php phpinfo(); and open it in your browser. Delete the file immediately afterwards — it exposes server details.


Was this answer helpful?

« Back