class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
more info about the class
There is a file called php.conf in the folder /etc/httpd/conf.d
And into this file is a directive called
LimitRequestBody
Which value is by default 512 kb
I have set it with a value of 1500 kb.
Now I can upload files with this size or less.
Thanks!!