Increase Max File Upload Size

Hello,
I am attempting to increase the max file upload size to 10,000,000 KB on the multisite at my college.

Here is what I have done thus far without getting the results I want:
1. I have increased the max file upload size to 10,000,000 KB under “Network Settings.”
2. I have placed a php.info text file in the root folder with the code
<?php

phpinfo();

?>
I felt this should allow me to adjust the php.ini file, but inserting the php.info file does not allow me see my php.ini file when I go to courses.dc.edu/wp-admin/info.php

I will be extremely appreciative of any help offered. I have spent 3+ hours attempting to address this issue but I have not gotten anywhere. Thanks!

3. If neither of these work, it’s time to ask your hosting provider to increase the maximum file and post sizes on your account. Keep in mind that most decent hosting providers allow this, and If your hosting provider won’t accommodate you, perhaps it’s time to find a new hosting provider.

(in the above examples, the limit is set to 10000MB which is 10000000KB)

An outside consultant set up my college’s multipress site, then turned over the superadmin privileges to me. I have access to the entire server, but I still have not found the php.ini file — even at the time of this response.

But with your clear instructions, I was able to locate the .htaccess file. I changed the values to what you indicated. Success! I now have a 10gb file upload size.

I teach communication courses — I’m not an IT person, so thanks for breaking it down, so thanks for communicating clearly James. I’m grateful!

I found the php.ini file on my server in the root directory, and the suggested change worked instantly! 🙂

However, a caveat: I originally assumed that the ini file would not be there, so I tried the .htaccess approach with very bad results. I tacked the two lines to the end of the file, and my site went down immediately. I started getting 500 errors indicating that the server was not accessible. Fortunately, I was able to FTP the original file back in place, and all was well. Then I looked for the ini file, which I found and fixed.

The moral: Be sure you have a way to undo anything like this that you do before you do it, because the results can be unexpected and very, very serious. 🙂

Thanks for the tip. It was the third time this week I ran into the file size limit, and I decided to just fix it once and for all, which with you help, I did.