PHP file Max limit, solve!

Source: Internet
Author: User
PHP upload file maximum limit, solve!!!
Excuse me, I have adjusted the maximum upload file limit in the configuration of PHP! ~!!! as follows ~ ~

;;;;;;;;;;;;;;;;
; File uploads;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
File_uploads = On

; Temporary directory for HTTP uploaded files (would use system default if not
; Specified).
; upload_tmp_dir = "E:\appserv\www\tem"

; Maximum allowed size for uploaded files.
Upload_max_filesize = 100M

;;;;;;;;;;;;;;;;;;

But have been able to upload only 2M files!! Why is this??

Reminder, I changed the 100M to 100000000 and 100M,
And after each modification, I restarted the server, but why is it impossible to upload large files???

Solving!!!!

------Solution--------------------
Did you have an error? Post_max_size also change the bigger point.
------Solution--------------------
Check the following line in the php.ini:
Upload_max_filesize = 100M Post_max_size = 100M Memory_limit = 40M
Change this 2 to the same, try it!
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.