features – Maximum file size not updated

Hello, I am a beginner at WordPress and I am currently trying to increase the download size of my file.

Until here I have tried two ways:

The first method was to add this to the bottom of the functions.php file:

@ini_set ('upload_max_filesize', & # 39; 64M & # 39; & # 39;
@ini_set (& # 39; post_max_size & # 39;; & # 39; 64M & # 39;
@ini_set (& # 39; max_execution_time & # 39;, & # 39; 300 & # 39;);

It did not seem to work.

The second way that I tried was to install the PHP Settings plugin and add it to the file.

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

However, when I try to verify that my changes have been updated by clicking Media> Add a new, I still see 8 MB as the maximum file size:

enter the description of the image here

How would I do that? I'm trying to download a theme of 8 MB + and it will not work because of this limitation.

P.S. J uses MAMP to start my server.