PHP file upload limit for Drupal 6

Avatar
  • Answered
By default, individual file uploads are limited to 2 MB in PHP. You can see this setting on Admin > Settings > File Uploads: "Your PHP settings limit the maximum file size per upload to 2 MB."

How can I increase the limit?
Avatar
Arn
Hello Annaru,

Please check your .htaccess file. The PHP.INI file sets the upload value and it was set to 128 MB. The problem is that the .htaccess file typically sets the PHP.INI file so that the application using the settings is affected. This was recently set (a path to the php.ini file was made recursive - that's what was actually done). This should have fixed the upload limit. Let us know if you're still have any problems.

If you have any further questions, please contact technical support or leave a comment at the bottom of the page.

Regards,

Arnel C.