Increase Maximal Upload File Size with Wordpress Openlitespeed

Hi guys, I need to increase the maximal upload file size. I did it before, when using an Apache and Nginx web server, but now I have a Wordpress Openlitespeed droplet configuration and I can’t seem to figure it out.

I am using this document:

I already enter the first problem when I try to locate the .htaccess file, which I can’t find.

Any suggestions on how to increase the maximal file size with Wordpress Openlitespeed?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Hi @katovonkatz ,

I believe this FAQ can help,

Let us know if you have any questions or help.

Best, Eric

Hello @katovonkatz ,

The .htaccess is located in your WordPress site’s root folder. WordPress uses it to manage redirects and permalinks. You can refer to this link for more information.

You can then update the post_max_size and upload_max_filesize from /usr/local/lsws/lsphp73/etc/php/7.3/litespeed/php.ini

Then do killall lsphpnew to restart PHP process, then it should work.

Request you to refer to the below links as well

Cheers, Lalitha