Why is changing Upload Limits such a pain?
-
It seems like the question as to “How do I increase the Media Upload file limitation?” is asked quite frequently by WordPress users (myself included) and the nuanced answers to each inquiry is further obfuscated by which version of WP is installed along with the facilitation of each web hosting service, shared servers, etc.
Searching for an answer (again) to this matter and in reading posts from others similarly in this community simply wanting to get a file larger than 2MB uploaded, I’ve quickly found lots of posts over the years and as recently as last week but too often the answers have pointed to outdated FAQs or worse.
So.. just a thought (and not an original one by any stretch); Could there please (PRETTY PLEASE) be consideration given for an added option from
Dashboard, Settings, Media, Media Settings
-
MEDIA UPLOAD FILE SIZE LIMIT
// Rant complete – Begin Humble Supplication
In the previous case (sand box), the original install of WP was done about in March 2012 for my firend to experiment / play / etc., in a subdomain.domain.com/wp and the file .htaccess wasn’t automatically created via Lunarpages’ one-click installer, but in the present case, I have done a new install to root (WP 3.5.1) and curiously found an .htaccess file already present. During the sand box sessions, she never hit that 2 MB ceiling.
.htaccess automatically created January 2013
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Many posts on this subject and over a span of years by WP gurus have mentioned creating (from scratch; not appending) an .htaccess file.
In an earlier separate case, the original install of WP was done in the spring of 2011 in root and the following were added then to get over the 2 MB ceiling.
To play nice with my host’s server, my .htaccess ends up looking like this:
suPHP_ConfigPath /home/my_user_name/public_html/ # Use PHP5 as default AddHandler application/x-httpd-php5 .php
along with the .htaccess I needed the creation of a php.ini:
upload_tmp_dir = /home/my_user_name/mytmp/ upload_max_filesize = 150M post_max_size = 150M
Both the .htaccess and php.ini files are in root and that has continued to work for the past couple of years without issue (that site is also running WP 3.5.1). But I’m still falling short of success having tried appending the .htaccess as follows for the 2013 installation:
suPHP_ConfigPath /home/my_user_name/public_html/ # Use PHP5 as default AddHandler application/x-httpd-php5 .php # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Along with tossing in the php.ini:
upload_tmp_dir = /home/my_user_name/mytmp/ upload_max_filesize = 150M post_max_size = 150M
My new WP site crashes with that first bit added:
suPHP_ConfigPath /home/my_user_name/public_html/ # Use PHP5 as default AddHandler application/x-httpd-php5 .php
and comes back around with it removed.
What’s a mother to do?
Many many thanks for any help.
Kelly
- The topic ‘Why is changing Upload Limits such a pain?’ is closed to new replies.