I got a small problem. When I try to uploads some big size images I get above error. But If I try to upload same size images using Drag and Drop method, I can upload all files. I have checked some similar solved problems. But could not understand how can I check and modify php.ini file. How can I solve this problem? I am using Mac OS and MAMP Server.
Asked
Active
Viewed 2,309 times
2 Answers
0
line no:770 to change php.ini
post_max_size = 1000M
refer:

Community
- 1
- 1

B.Nadesh kumar
- 216
- 1
- 10
-
Thanks for help first. I have changed Post_max_size to 1025M and upload_max_filesize = 1024M and memory_limit =1025M but still same problem. – user2668276 Oct 19 '15 at 12:53
-
No use. Now I have set Post_max_size to 1025M and upload_max_filesize = 1024M and memory_limit =128M but still not working. – user2668276 Oct 19 '15 at 13:15
-
Do you think should I restart the server after change. – user2668276 Oct 19 '15 at 13:16
-
Yes, you must always restart the server after updating php.ini – Benjineer May 06 '18 at 02:33
0
Change or add the post_max_size
and upload_max_filesize
fields in the applicable php.ini
file e.g.
post_max_size = 100M
upload_max_filesize = 100M
You can find the location of the file by creating a PHP file with contents:
<?php echo phpinfo(); ?>
Then restart your server, navigate to the page in your browser and search for the Loaded Configuration File
value.

Benjineer
- 1,530
- 18
- 22