简体   繁体   中英

PHP POST Content-Length warning

I set both upload_max_filesize and post_max_size to 128M in my php.ini file, restarted MAMP but it did not work. In my phpinfo() it says that upload_max_filesize is set to 32M and so is post_max_size . Why would this be happening? I made sure that I'm editing the correct php.ini and restarting everything accordingly. Any help would be great. Thanks

在此处输入图片说明

If you're using MAMP Pro, you need to edit your php.ini file in the MAMP menu under File > Edit Template > PHP > PHP x.xx php.ini

The problem is that MAMP Pro dynamically generates the php.ini on every start and therefore overwrites your manually edited file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM