尽管upload_max_size和post_max_size设置正确,$ _FILES报告错误1(文件大小)

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!

I submitted a support ticket to my webhost. Somehow the server was not responding to my php.ini file despite the proper values displaying in phpinfo(). The solution was to add the following to my .htaccess file:

suPHP_ConfigPath /home/myaccount/public_html 
<Files php.ini> 
order allow,deny 
deny from all 
</Files>

I'm not sure why this was necessary when phpinfo() reported the changes but this did the trick.