• I can’t upload files over 2mb still, even though I’ve tried both “solutions” that were offered on wordpress and other forums..

    I have the folder permissions set to 777, it’s called Uploads.

    In my php.ini file I have:
    upload_max_filesize = 10M

    But when using the flash uploader it says:
    This file is too big. Your php.ini upload_max_filesize is 2M. (HOW DARE IT LIE!)

    And the settings have been like that for months so it’s not a cache thing, I guess I’ve only noticed this problem now since I am finally trying to upload a file over 2mb through the upload form. It’s a zip file and I have the latest version of wordpress installed, I get an error while using the browser uploader as well “Error saving media attachment.”.

    Any solutions at all? I don’t see happy endings to any of these types of threads, someone please make me happy.

    Oh and please no smart responses saying to just use FTP.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Did you re-start apache after upping this value? If php is running as a module it will require a restart for any changes to the php.ini file. Also, you may want to check the post_max_size value as well, since uploading “POSTs” files to the server.

    [signature moderated Please read the Forum Rules]

    Thread Starter dirt2

    (@dirt2)

    Yes the post_max_size is 20mb, There are no lines that even say “2mb”
    Also I don’t know how to “Re-start” apache as I don’t actually know what it is.

    Thread Starter dirt2

    (@dirt2)

    Okay I did some research and it appears it may actually be a bluehost thing, these people have tried to restart apache and say it’s not necessary and that there’s a 2mb upload limit.

    https://www.bluehostforum.com/showthread.php?t=662

    But thank you, I will try finding an FTP plugin.

    I had this problem when trying to upload larger pictures (3MB) to my site. Checked the php.ini file and saw:

    ; Maximum allowed size for uploaded files.
    upload_max_filesize = 2M

    Changed it to 5M, restarted Apache, and she works like a charm now.

    Glad I found this thread!

    Thanks

    Dirt2: BlueHost will allow you to increase that limit. I currently have mine set considerably above 2M.

    Check your php.ini and make sure your post_max_size and your upload_max_filesize are both high enough for what you need. If it still isn’t working, check the PHP Config icon in your cPanel and set it to PHP5 (Single php.ini). Also copy your php.ini to the root directory of your blog install.

    Next create a file named phpinfo.php in the root directory of your blog installation and put this code into it:

    <?php phpinfo(); ?>

    Then access yourdomainname.com/phpinfo.php and see what it records the limit set as.

    I had the same problem: I created a personal php.ini, changed the 2M value, <?php phpinfo(); ?> in the root directory showed the new value, yet no change.

    I found that the value had not changed inside /wp-admin. So to test do create the phpinfo.php INSIDE /wp-admin. In my case I just needed to copy the new php.ini to the wp-admin directory to solve the problem.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress Uploading Problem/FileSize/Flash-Browser Uploader’ is closed to new replies.