Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Todd Volmari
Todd Volmari
4,959 Points

Wordpress/buddypress attachment 3mb limit.

Is there a way to increase the attachment limit in wordpress. At the moment for most plugins it is 3mb, for example buddypress docs, and buddypress courseware? I have been trying to search through the files to find where I can increase it, but am having no luck.

2 Answers

You need to increase these settings in the php.ini which WordPress uses to set the attachment limit.

; Maximum allowed size for uploaded files.
upload_max_filesize = 40M

; Must be greater than or equal to upload_max_filesize
post_max_size = 40M


Todd Volmari
Todd Volmari
4,959 Points

Is php.ini the file name?