WordPress.org

Ready to get started?Download WordPress

Forums

TIPS FOR: The uploaded file exceeds the upload_max_filesize directive in php.ini (1 post)

  1. invisiblelimb
    Member
    Posted 3 years ago #

    Stressing over this error? Can't fix it even though you edited the php.ini & .htaccess files? Nothing working?! Here are some things that helped me fix the "The uploaded file exceeds the upload_max_filesize directive in php.ini" error.

    Added these to my php.ini file:

    file_uploads=1
    upload_max_filesize=64M
    post_max_size=64M
    max_execution_time=-1

    Added these to my .htaccess file:

    suPHP_ConfigPath /home/<your folder name>/public_html
    <Files php.ini>
    order allow,deny
    deny from all
    </Files>

    At first I made the mistake of writing "MB" after the 64. I kept getting the error (ugh!) so I tried just "M" and that FIXED IT for me! So try doing that, and I hope this helps!!!

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by invisiblelimb
  • This topic is not a support question
  • WordPress version: 3.0

Tags

No tags yet.