Thinkphp file upload size limit I use thinkphp to upload files
$ Upload-> maxSize = 10000000000
In php. ini, change
Upload_max_filesize = 500 M
Post_max_size = 500 M
Memory_limit = 512 M
Max_execution_time= 600
But still prompts
The uploaded file exceeds the limit of the upload_max_filesize option in php. ini!
Why?
Guangzhou bee 10:46:01
There are two Error messages:
The uploaded file exceeds the limit of the upload_max_filesize option in php. ini!
Second
No files uploaded!
Reply to discussion (solution)
Have you restarted Apache ??
$ Upload-> maxSize = 10000000000
Echo 10000000000/1024/1024; // 9536.7431640625
That is, 9536 M, apparently exceeds upload_max_filesize = 500 M
Reply to the second floor and restart
But I found the cause of the error because php is directly changed in wamp. ini: php. ini does not work. what really limits is the latter. After I change the latter, I can.
Reply to the third floor. you can also say this, but I found the specific cause of the error and said it above. thank you for answering my questions.