1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Article

Scripting: How to Increase PHP Upload Size Limits

  1. Log into your account Hosting Summary.
    Hosting Summary
  2. On the left pane, click Scripting Config.
    Left pane, Scripting Config
  3. Once the Scripting configuration page loads, look for the PHP Scripting tile and click on the Manage PHP Scripting link.
    Manage PHP Scripting
  4. On the PHP Scripting page, look for the Actions tile and click on the Manage php.ini link.
    Manage php.ini
  5. Locate the following blocks of code within your php.ini file:

; Maximum size of POST data that PHP will accept.
; http://php.net/post-max-size
post_max_size = 20M ; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 20M

; Maximum number of files that can be uploaded via a single request
max_file_uploads = 20
 
  • Modify the highlighted value for post_max_size as desired (example: 30M, or 40M, or 50M).
  • Modify the highlighted value for upload_max_filesize as desired (example: 30M, or 40M, or 50M). This value should not be larger than the post_max_size value.
  • Modify the highlighted value for max_file_uploads as desired (example: 30, or 40, or 50).
6. Once done, click on the Save button.
save button
yieldmanager

Thanks for visiting! Since you landed on this page of our website, we wanted to let you know you visited one of our paid endorsers while researching your purchase. close