Can’t increase max upload limit!

[ad_1]

Hi,

I recently installed Ubuntu 20.04 on a VPS, for the first time, and added Litespeed and Mariadb. Then installed WordPress under the ‘Example’ directory.

All went well. But now I have a WordPress site live, I cannot upload any plugins because the limit is set to 2mb!

= Which I cannot ever remember seeing before (2mb!)

I have used vim to increase the upload_max_filesize directive in php.ini (in the Litespeed directory) AND increased the size in the wp-config BUT it still won’t allow me to upload files larger than 2mb!

AT that point, I tried installing a plugin that allowed me to directly edit the php limit, so I tried that (which told me I had been successful) but I STILL got the same limit error when trying to upload a 3mb plugin.

Can anyone tell me where this limit is being enforced?

I’m new to Ubuntu/Litespeed/LOMP so perhaps there is another file I don’t know of that’s restricting this?

Thanks!

  • This topic was modified 6 hours, 40 minutes ago by phil2016.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer