Adjusting PHP settings in CloudLinux PHP Selector

Often times you will find that the default PHP settings in your cPanel account are not suited to the specific needs of your website, and you may need to adjust things like how much memory the site is allowed to use, or how large a file you're allowed to upload.

These settings can easily be adjusted in the Select PHP Version interface within your cPanel account.

Method:

  1. Log into your cPanel account.
  2. Go to Select PHP Version  under the Software header.
  3. Go to the Options tab at the top of the page.
  4. You will see a list of options and variables that you can edit.
    Click here to show the screenshot


    Hovering your mouse cursor over each option will display a small info box with information on what each option does, but a few common ones can be found below:
    • memory_limit: This is the maximum amount of memory any file or script is allowed to use at any given time. For most websites, this is how much memory each process the website uses, and ultimately is governed by the amount of memory allowed to your cPanel account.
    • post_max_size: The amount of data that can be sent to the website using the POST. This generally should be set higher than the upload_max_filesize value.
    • upload_max_filesize: The amount of data that can be uploaded in a single file. As uploading data will almost always use the POST method, you should make sure the post_max_size value is higher than this.

Can't find what you're looking for?

Create or manage support tickets directly with Micron21

You will need to register a new account if this is the first time lodging a ticket.

If you have previous lodged a ticket either online, email or over the phone you will already have an account. Please reset your password, if you have not logged into the support portal before.

Lodge a ticket Manage existing tickets

Sign up for the Micron21 Newsletter