• When I try to install a theme on my localhost version of WordPress, I get this message:

    The uploaded file exceeds the upload_max_filesize directive in php.ini.

    I have used this theme on my live site but I am looking to play around with it locally to make changes. What is the limit on file size, and can I change it; if so, where do I do that?
    Sorry for the dumb questions, but this is brand new to me

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    The maximum upload size is controlled at the server-level, not by WordPress. Here are two ways you can increase the upload limit:

    1. If you can edit or override the system php.ini file, increase the maximum file and post sizes. For example, upload_max_filesize = 100M ; and post_max_size = 100M ;

    2. If you cannot edit or override the system php.ini file, add php_value upload_max_filesize 100M and php_value post_max_size = 100M to your .htaccess file.

    (in the above examples, the limit is set to 100MB)

    Thread Starter nubiesan

    (@nubiesan)

    Thanks. I hate to sound really dumb, but where do I find these files? I have wp loaded on my computer with MAMP providing the environment.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    I think there’s probably a settings file in MAMP for that, but since you’re just local on your computer, it might just be easier to drag the theme’s files into /wp-content/themes/ on the site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Theme Zip File Exceeds limit’ is closed to new replies.