Knowledgebase: Web Hosting
How do I adjust PHP options memory limit, upload filesize, or execution time?
Posted by Brian F., Last modified by Brian F. on 24 August 2020 01:27 PM

All shared, cloud web hosting, semi-dedicated, and reseller plans include the ability to edit your PHP options through cPanel using the Select PHP Version interface. Common options include:

  • Max execution time (max_execution)time): How long your PHP script can run before it times out and the process is killed
  • Max input vars (max_input_vars): Number of variables in a GET/POST request that will be accepted
  • Memory limit (memory_limit): The maximum amount of memory (RAM) a single PHP script/process can use
  • Upload max filesize (upload_max_filesize): Sets the limit for how large an uploaded/attached file may be when processed through a PHP script

To adjust your PHP Options:

  1. Login to cPanel for your hosting account and use the search to find the "Select PHP Version" interface:



  2. From the Select PHP Version interface select the "Options" menu:



  3. Use the provided forms and dropdown menus to adjust your PHP options as required by your scripts/software:



  4. When you make changes you will see a dialogue menu in the top right of your screen confirming the changes were saved:

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).