Faqs / What is the php file upload size limit (upload_max_filesize) ?

Our Servers are configured with a upload_max_filesize of 3M.

If 3M upload_max_filesize is not enough you can change it if you create a file named “.htaccess” in the same directory as your file upload script, and put this in it:

php_value post_max_size 10M
php_value upload_max_filesize 10M

Use any valid value you like instead of 10M of course.

Yes, there really *should* be a dot (.) at the front of the filename:
..htaccess

Your FTP software and your desktop machine may give you grief about it, but the web-server *needs* it to be that name.

Posted in: Hosting, PHP

Comments are closed.