I want to upload a 50 MB File to my one click wordpress installation.
Wordpress cries that its too big a filesize.
Where are the configurations files I need to edit to set the filesize to mazbe a 100 MB?
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!
Thanks @jtittle1 , pointing me at the nginx configuration parameters was important to me solving this!
One thing I learned, for others, was I had to increase the parameter in three separate sections, across three files. I added
client_max_body_size 200M;
to the http, location and server parts of my nginx.conf and the individual .conf files in sites-enabled (standard and ssl). whew.
Everything that is explained is fine, only if they did not solve it they are changing the number in the wrong place in php.ini, here is the correct line and my changes that did work, then restart Apache before seeing these changes reflected:
; Maximum size of POST data that PHP will accept. ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; http://php.net/post-max-size post_max_size = 512M
best, max-
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.