Aug 21, 2011
tom

PHP Apache windows upload limit with Drupal

Question

I am running php 5 with apache on windows 2003. I have changed the the upload_max_filesize to 50mb. I have saved the file and restarted apache. When I try a file upload in Drupalit says the maximum file size is set at 8mb allowed by php (this is reported where you set the limit for drupal). Do you know where I would change this option to make it more. I believe it to be a server setting rather than an application one.

Answer

Check the post_max_size in php.ini:

post_max_size = 8M (max size that a script can POST back)

Related posts:

  1. PHP/Apache POST limit?
  2. Is there some limit on a size of a file when force-downloading it with PHP on Apache?…
  3. Installing PHP 5.2.1 with Apache 2.2.x in Windows
  4. PHP Image upload folder
  5. post file uploads in apache webserver w/ PHP, sometimes it works, sometimes it doesn’t

Leave a comment