Max file size not updating
Hi I am a beginner at WordPress and am currently trying to increase my file upload size.
So far I've tried two ways:
The first way was to add this to the bottom of the functions.php file:
@ini_set( 'upload_max_filesize' , '64M' );
@ini_set( 'post_max_size', '64M');
@ini_set( 'max_execution_time', '300' );
That didn't seem to work.
The second way I tried was to install the PHP Settings plugin and add this to the file
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
However, when I try to verify that my change updated by clicking on Media Add New
, I still see 8MB as the max file size:
How would I do this? I'm trying to upload a theme that's 8MB+ and it won't work because of this limitation.
P.S. I'm using MAMP to start my server.