0

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.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
user2668276
  • 67
  • 13

2 Answers2

0

line no:770 to change php.ini

post_max_size = 1000M

refer:

PHP post_max_size overrides upload_max_filesize

Community
  • 1
  • 1
B.Nadesh kumar
  • 216
  • 1
  • 10
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