HART-Empire Network II - (All Blogs In Our Network)
HART-Empire Network II - (Pet Related Blogs)
HART-Empire Network II - (Entertainment Blogs)
HART-Empire Network II - (Shopping Blogs)
HART-Empire Network II - (Opinionated Blogs)
HART-Empire Network II - (Small Business & Finance Blogs)
HART-Empire Network II - (Sports Related Blogs)
HART-Empire Network II - (Health & Fitness Blogs)
HART-Empire Network II - (Personal & Security Blogs)

June 20, 2007

An Easy Fix: The Uploaded File Exceeds The upload_max_filesize Directive In php.ini Problem

Filed under: Hmmmm Things, Quickies — HART -

This has got to be the second most annoying feature that I’ve noticed in EVERY SINGLE BLOG that has been upgraded to the latest wordpress version 2.2. The first being that my Iimage Browser Plugin does not work because it requires one file to be placed in the wp-admin folder .. and my InstantUpgrade plugin deletes it every time there is an upgrade to my blog, initiated by me.

wordpress-freaking-annoying.jpg

I’m sorry - I can’t remember who said this, or where I found it .. although I’m almost sure it was in the Wordpress Support Forums..

In your Wordpress Admin …..

1) MANAGE
2) FILES
3) SELECT .htaccess (for rewrite rules)
4) PLACE THE FOLLOWING UNDER THE LAST LINE BEFORE # BEGIN WORDPRESS

php_value upload_max_filesize 2M

Thanks it. 2M is 2MB so, if you need something larger for uploading video files or audio files you can change it there. So .. your .htaccess file might look like something like this:

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^hart-empire.com [NC]
RewriteRule (.*) www.hart-empire.com/$1 [R=301,L]
php_value upload_max_filesize 2M

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Tags: , ,

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress

|
Theme: Northern-Web-Coders by Kai Ackermann
"Empire'ized" by 1-8-0-0-H-A-R-T
Website: Version 1.1

Bad Behavior has blocked 1533 access attempts in the last 7 days.

Close
E-mail It