Increasing file size upload in WP (already tried to edit php.ini and .htaccess)

I’ve tried editing php.ini as such:

upload_max_filesize = 40M

and

Read More
post_max_size = 40M

and editing .htaccess as such:

<IfModule mod_php5.c>
php_value upload_max_filesize 40M</IfModule>

(an answer suggested on another post,) but am still unable to upload files larger than 2M.

The WP install is on a subdirectory, but the php.ini and .htaccess are on the root. I don’t know if that makes a difference.

Related posts

Leave a Reply

2 comments

  1. This is almost always caused by your host capping it regardless of what settings you can change. They do not give users on many shared hosts the ability to change suPHP or .conf (or whatever) files, so you will have to ask them.