Set PHP file upload size limit

It’s easy, just config the php.ini. But there is four setting we need to check:

For example in .htaccess:

If you set upload_max_filesize 100M but leave post_max_size 50M, you will only allow to upload 50M. That is a place we need to notice.

More check here:  How to upload big files

Leave a Reply