the uploaded file exceeds the upload_max_filesize directive in php.ini

See all posts Reply

the uploaded file exceeds the upload_max_filesize directive in php.ini new!
by Mdc888, 13 years, 11 months ago
Hi There,

I have a little problem while uploading a file larger than 1 MB.

Here is the log:

Error: File upload error (the uploaded file exceeds the upload_max_filesize directive in php.ini).
Error: system information
- class version : 0.29
- operating system : Linux
- PHP version : 5.3.2-1ubuntu4.2
- GD version : 2.0
- supported image types : png jpg gif bmp
- open_basedir : no restriction
- language : en_GB
source is an uploaded file


Here are the php.ini settings:
max_execution_time = 0
max_input_time = -1
memory_limit = 512M
upload_max_filesize = 40M
max_file_uploads = 20


It seems my conf is higher than needed. And what I need is uploading normal files like 4MB...

Could you help me?
ThanksReply
Re: the uploaded file exceeds the upload_max_filesize directive in php.ini new!
by colin, 13 years, 11 months ago
Check in a phpinfo() which conf you are indeed getting.Reply
Re: the uploaded file exceeds the upload_max_filesize directive in php.ini new!
by Mdc888, 13 years, 11 months ago
Oups :(
Sorry about that, I had an error in my php.ini, then my parameters were not applied.
All is fixed now, and working perfectly. Thanks again for that awesome class.
Colin Verot rules! ;)

CheersReply