Can't install Wordpress plugin

Linode Staff

I'm trying to add an 8MB Wordpress plugin, but when I try to add it I'm getting this error: "The Uploaded File Exceeds The uploadmaxfilesize directive in php.ini".

How do I increase the max filesize?

1 Reply

The max file upload size is controlled by PHP. You'll need to modify this setting in your php.ini file. You can usually find this file in one of these 2 locations:



If you're having trouble finding it, you can use the phpinfo() function to find it.


Once you've found your php.ini file, you can edit the following directives to increase the max filesize to whatever you'd like (in this example I've increased it to 256MB):

upload_max_filesize = 256M

post_max_size = 256M

memory_limit = 1000M

file_uploads = On

max_execution_time = 300


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct