I'm uploading a 2MB file to my server and when I print_r($_FILES)
it's reporting an error code #1, which evidently indicates a file size problem. I've already set the following in my php.ini:
post_max_size=100M
upload_max_filesize=100M
I've also verified that these changes have taken effect by displaying phpinfo()
, but I'm still getting the same error. This is in an application that was moved from a shared development webhost to a dedicated VPS. It worked fine on the shared host but I'm getting the error on the VPS.
Thanks to anyone who can point me in the right direction!