By katovonkatz
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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
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://digitaloceancode.com/increase-maximum-file-upload-size-in-digitalocean-wordpress/
Cheers, Lalitha
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.