PHP Error 1
Posted: 12 Apr 2011, 08:20
Hi,
I receive an Error code 1 when I try upload a file. Now I know, from php.net/manual/, that this error is thrown when the file size of the uploaded file exceeds the upload_max_filesize directive specified in php.ini. I went over to Webmin -> Others -> PHP Configuration and specified the max upload size to be 10MB (upload_max_filesize = 10M) and changed, for good measure the post_max_size to 10MB as well.
Restarted the server and retried uploading a 2.5MB file, and it still throws an error 1.
Am I missing something?
I receive an Error code 1 when I try upload a file. Now I know, from php.net/manual/, that this error is thrown when the file size of the uploaded file exceeds the upload_max_filesize directive specified in php.ini. I went over to Webmin -> Others -> PHP Configuration and specified the max upload size to be 10MB (upload_max_filesize = 10M) and changed, for good measure the post_max_size to 10MB as well.
Restarted the server and retried uploading a 2.5MB file, and it still throws an error 1.
Am I missing something?