PHP Upload Limit

By North Street, A Creative Studio

There are three ways to do. If the site is on MediaTemple, and on the DV, then best way to do it is directly in the Admin.

Log into MT, then into Plesk. Click over the domain in question, and look for the “PHP Settings” icon:

Screen Shot 2016-04-07 at 12.59.25 PM

Once in there, you’ll want to change the post_max_size and upload_max_filesize. Don’t make it too large, 64M is probably enough.

You may also want to increase the memory_limit so things don’t time out.

Screen Shot 2016-04-07 at 1.01.00 PM


 

If you can’t get into MT, then you can try using .htaccess. Add these lines to the file:

php_value post_max_size 64M
php_value upload_max_filesize 64M

If that doesn’t work, you can try adding similar lines to the php.ini. Save it in the same location as your .htaccess ….

upload_max_filesize = "64M"
post_max_size = "64M"

If none of these work….then you’ll have to contact the hosting service.

Source: http://stackoverflow.com/questions/2992376/how-to-set-upload-max-filesize-in-htaccess

About north street

We engineer the thoughtful transformation of great organizations. Our proven process helps us understand what your competitors are doing right — and wrong. Want to learn more? Let’s chat.

More Notes

Team Spotlight: Matt Potter, Web Designer

Postcards from Puerto Rico: North Street Retreat ’22

We’re Hiring: Marketing Coordinator