Do not remember me!
/ / / How to increase upload size 4 mb?

How to increase upload size 4 mb?

Hi guys

I wanted to know how to increase the size of file uploads, default is 4 MB, I have my php.ini with a value of 50 mb.

Thanks for the help. Added by: in PHP Questions on


0

Comments 2

  1. MongKol
    0
    MongKol Currently Offline → 18 November 2015 00:12

    upload_max_filesize = 50M
    post_max_size = 50M
     N/A |  37
  2. MongKol
    0
    MongKol Currently Offline → 18 November 2015 00:17

    also keep this in mind...
    If the upload_max_filesize is larger than post_max_size, you must increase post_max_size so that it is bigger than upload_max_size.

    If the value of post_max_size is larger than memory_limit, you must increase memory_limit so that it is larger than post_max_size.
     N/A |  37

Information

Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.