Question

Increase Maximal Upload File Size with Wordpress Openlitespeed

Posted November 23, 2020 604 views
OpenLiteSpeed WordPress 1-Click

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:
https://help.servmask.com/2018/10/27/how-to-increase-maximum-upload-file-size-in-wordpress/

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?

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.

×
Submit an Answer
2 answers

Hi @katovonkatz ,

I believe this FAQ can help,
https://docs.litespeedtech.com/cloud/images/wordpress/#how-do-i-change-php-parameters

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.

https://themeisle.com/blog/htaccess-file-in-wordpress/

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

https://www.digitalocean.com/community/questions/increase-max-filesize-for-wordpress-files-one-click-installation

https://digitaloceancode.com/increase-maximum-file-upload-size-in-digitalocean-wordpress/

https://www.digitalocean.com/community/questions/how-to-change-the-maximum-upload-file-size-in-litespeed-wordpress

Cheers,
Lalitha