Posted by Milagro on 05/09/07 19:12
>
> But, what's important here, do you know what the accepted upload size is
> in php.ini? (check using phpinfo(), variable upload_max_filesize). If
> that's under the form's limit, this might explain why the uploads fail on
> originals and succeed on the resized/recompressed versions.
> I think the default might be 2megs.
> The size specified in the form isn't a hard limit per se, the
> upload_max_filesize in php.ini is.
>
> HTH
> Sh.
Thanks! I think you hit the nail on the head. upload_max_filesize is
indeed set to 2mb and all the files I'm having problems with are over
2mb.
Two more questions. Is there any downside to changing this variable in
php.ini to a higher value [say 3mb] (other then it consuming more
server resources) ?
This is a dedicated server with a speedy processor and 2gb of Ram.
And if I do change the value in php.ini do I have to restart some
process or does php pick up those settings right away?
Thanks again.
M
[Back to original message]
|