[Resolved] Changing File Upload Limits
I understand that this is an oft asked question, and I have searched these forums thoroughly.
How do you increase the “Maximum upload file size” beyond the default so people using the “Upload New Media” page can upload larger files?
What I have already done
I have already edited my /etc/php.ini file with relevant lines
memory_limit = 100M post_max_size =100M file_uploads = On upload_max_filesize = 100M
These values show up when I look at a webpage powered by php_info():
and that page verifies that it is referencing my host’s php.ini file in /etc/php.ini
I have also edited the .htaccess files in my wordpress base directory with:
php_value upload_max_filesize 100M php_value post_max_size 100M php_value memory_limit 100M
I have also edited the wordpress wp-config.php file with
near the top of the file.
The resulting file upload limit from my admin media page
is still 1MB
I have also rebooted the machine, and restarted Apache.
The machine is running PHP 5.3.6, WordPress 3.1.1 (under multisite mode), and Apache 2.2.17
The same machine is running another WordPress multisite instance which does use the 100M limit I set in the php.ini file and an additional single site instance of WordPress that also displays 100M.
The multisite instance that I am having difficulty with does upload files just fine, as long as they are smaller than the 1MB limit (which is displayed).
What else should I edit to increase the file size limit for uploads?
- The topic ‘[Resolved] Changing File Upload Limits’ is closed to new replies.