Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress How to Build a WordPress Plugin Building a WordPress Plugin Settings Page Basic Markup for WordPress Settings Pages

File size to big to upload ?

Hi everyone,

for some reason I cannot upload this zip file, im getting an error to say that the file size is to big ?

What are my ways around this ?

Thanks Craig

Linux server? Do you have administrative access?

Not sure, this is a local install John :S

Windows?

On a local install, you can pretty easily unzip the file and drag them to the correct place manually.

It's surprising some times how such simple things can be overlooked .....

Thanks John I must be in need of a cup of tea ....

:)

No problem. Glad to help :)

2 Answers

For a linux server install:

If you have access, you can open the php.ini file on your server and up the post_max_size and upload_max_filesize variables. If not, you can contact your provider and see if they'll do it for you.

You could split your upload into smaller parts. Or there's a plug in. I've not tried it, so I can't say how well it works. It sounds like you may not be able to switch it back. https://wordpress.org/plugins/increase-upload-max-filesize/

Had the same issue with a local windows install using MAMP.

Just in case anyone else has the same issue you can increase the upload_max_filesize in php.ini which you can find at C:\MAMP\conf\latestPHPversion\php