Re: able to upload 28 meg file, yet php.ini limits posts to 10 megs. What is up with that?



On May 30, 7:01 pm, Lawrence Krubner <lawre...@xxxxxxxxxxx> wrote:

To guard against our users possibly uploading huge files, I've
got this in my php.ini file:

; Maximum size of POST data that PHP will accept.
post_max_size = 10M

What about upload_max_filesize? And what, if anything, is
LimitRequestBody directive in Apache set to? Are there any .htaccess
files that could possibly change any of this?

And while we're checking for possibilities, are you editing the same
php.ini PHP is using?

Also, are you running PHP as an Apache module or CGI/FastCGI?

Cheers,
NC
.



Relevant Pages