I’ve asked myself this question way too often. I run websites on several different webhosts and frequently run into the issue uploading files to a WordPress site “exceeds the maximum upload size for this site” error. Drives me Bonkers.
I read this simple technique today and it works. It’s simple to install. My brain is simple. Me Likey Mucho.Me. My Simple Fingers Typed It.
Create a file called .user.ini in your root folder of your server (ie: the same place you have your .htaccess) and add these lines to it:
upload_max_filesize = 100M
post_max_size = 105M
memory_limit = 256M
Set your own file sizes but these work for me, pretty much across the board.
Problem solved with no tweaks required. Thankyou Internet.
IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Alpha Nerd and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and in the words of the most interesting man in the world: Stay thirsty my friend.
IBM i 5250 Screen Sizes – Widescreen for the Win!
How to capture IBM-i job info for submitted jobs
Going the (Levenshtein) Distance in RPG Free
How to rename IFS Files
Getting the Snip
RPG Divide and Move Remainder – DIV MVR in ILE RPGLE /FREE
Skeleton RPGLE Trigger Program
Update IBM i IFS Objects Data Change Timestamp
What is AS400 modernization?