Reputation: 10877
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
Upvotes: 0
Views: 133
Reputation: 2946
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.
Upvotes: 1