Can't upload large files in PHP

First, check max_upload_size in php.ini, but if that doesn't work, look for "LimitRequestBody" in /etc/httpd/conf.d/php.conf and comment it out. Restart apache and you're all set.

Printed from: http://rackerhacker.com/2007/01/24/cant-upload-large-files-in-php/ .
© Major Hayden 2012.

Leave a Reply

 

  • Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you find the information useful. If you spot something that's incorrect or confusing, please write a comment and let me know. Drop me a line if there's something you want to know more about and I'll do my best to write a post on the topic.
    -- Major Hayden

    Flattr this