Increase max upload limit for wordpress website using cPanel

I have my own VPS with fasthosts.

In the WHM end I used MultiPHP INI Editor to set the upload limit to 128MB for all the relevant PHP versions.

Unfortunately I still had an 8Mb upload limit in WordPress.

I was able to increase that by doing the following:

In cPanel go to File manager. Then click on www. Then click add new file. Call it “.user.ini” – IMPORTANT have “.” before user


If you cannot see the file. Click settings in the top right and select “Show Hidden Files (dotfiles)” and then save. Then you will be able to see it.

Edit the file.

Paste these values into it (or adapt if necessary).

upload_max_filesize = 64M
post_max_size = 128M

Then save and try again in WordPress.