Answers.Body: <p>Craft has a <a href="https://craftcms.com/docs/config-settings#maxUploadFileSize" rel="nofollow noreferrer">maxUploadFileSize</a> config setting, but it is set to 16MB by default.  Maybe someone has changed it to 8MB for your install, though.  It would be in <code>craft/config/general.php</code>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-19T20:45:58.210Z
Answers.Text: i didn't see a maxUploadFileSize in my general.php but i added it and set it to 200MB and it's still giving me the same error.
Answers.UserDisplayName: DZIEY3
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-19T21:15:27.323Z
Answers.Text: There's nothing else in Craft that would be limiting file upload sizes, so it must be something environmental.  Does your box have anything like Suhosin or mod_security installed?  They provide their own additional settings.
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-22T23:55:49.903Z
Answers.Text: it was an option in my cpanel php settings, post_max_size was what was limiting it to 8MB
Answers.UserDisplayName: DZIEY3
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-18T23:17:50.077Z
Answers.LastActivityDate: 2017-09-18T23:17:50.077Z
Answers.UserDisplayName: Brad Bell
Body: <p>I'm trying to upload a 40MB video through the assets tab in the admin panel, but I get an error saying "The file "x.mp4" could not be uploaded, because it exceeds the maximum upload size of 8.0 MB."
  In my php.ini file it looks like I've got it set to 265MB and i'm not sure where else to check. Here's what my php.ini file looks like:</p>
  
  <pre><code>allow_url_fopen = Off
  allow_url_include = Off
  display_errors = Off
  enable_dl = Off
  file_uploads = On
  max_execution_time = 30
  max_input_time = 60
  max_input_vars = 1000
  memory_limit = 128M
  session.gc_maxlifetime = 1440
  session.save_path = "/var/cpanel/php/sessions/ea-php71"
  upload_max_filesize = 256M
  </code></pre>
  
Tags: <assets><upload>
Title: 8MB memory limit on asset uploads?
ThreadText: # 8MB memory limit on asset uploads?
  
  (Asked by: username_0 on 2017-09-18)
  
  I'm trying to upload a 40MB video through the assets tab in the admin panel, but I get an error saying "The file "x.mp4" could not be uploaded, because it exceeds the maximum upload size of 8.0 MB."
  In my php.ini file it looks like I've got it set to 265MB and i'm not sure where else to check. Here's what my php.ini file looks like:
  
  ```
  allow_url_fopen = Off
  allow_url_include = Off
  display_errors = Off
  enable_dl = Off
  file_uploads = On
  max_execution_time = 30
  max_input_time = 60
  max_input_vars = 1000
  memory_limit = 128M
  session.gc_maxlifetime = 1440
  session.save_path = "/var/cpanel/php/sessions/ea-php71"
  upload_max_filesize = 256M
  
  ```
  
  **Tags:** assets, upload
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-09-18. Score: 1 | Accepted answer
  
  Craft has a [maxUploadFileSize](https://craftcms.com/docs/config-settings#maxUploadFileSize) config setting, but it is set to 16MB by default. Maybe someone has changed it to 8MB for your install, though. It would be in `craft/config/general.php`.
  
  > **Comments:**
  > **username_0**: i didn't see a maxUploadFileSize in my general.php but i added it and set it to 200MB and it's still giving me the same error.  
  > **username_1**: There's nothing else in Craft that would be limiting file upload sizes, so it must be something environmental.  Does your box have anything like Suhosin or mod_security installed?  They provide their own additional settings.  
  > **username_0**: it was an option in my cpanel php settings, post_max_size was what was limiting it to 8MB  
  
  ---
  
  