hi, friends, I want to increase the maximum upload size in WordPress how can I do?
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!
You’ll need to increase your PHP max_upload_file_limit. You’ll need to do this increase in your php.ini file on your server. To find it, enter your Droplet via SSH
ssh root@XXX.XXX.XXX.XXX
Where XXX.XXX.XXX.XXX is your droplet’s IP address. Once you are in there type in either
locate php.ini
or
which php.ini
Both should show you the location of the said file. Open the file and edit the two lines
upload_max_filesize = 10M
post_max_size = 10M
After that save the file and restart your WebService - Apache/Nginx.
That’s it, you are good to go.
Regards, KFSys
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.