Forums

Fix upload problem with IO error max size image/media (6 posts)

  1. GMedia123
    Member
    Posted 2 years ago #

    How to override the max upload size whether your host is blocking it or whether script is. If you're getting an IO error, or a max file size is to big error, or timeout error, this should fix it.

    Copy this to a text file and save it as php.ini. Then upload to your cgi-bin. If that doesnt solve it put the file in your root 'public_html' or 'htdocs' folder.

    [PHP]
    
    ;;;;;;;;;;;;;;;;
    ; File Uploads ;
    ;;;;;;;;;;;;;;;;
    
    upload_max_filesize = 100M;
    post_max_size = 105M;
    max_execution_time = 300; 
    
    ;End:

    Find other posts by GMedia123

    GMedia123
    Web Developer
    Tech Support
    Home Theater PC's w/voice control
    If you found any of this useful or it helped you in any way please consider a donation or at least leave a reply.
    Donate or Pay for Services here

    Tags: GMedia123 categories category Comments database error feed Help installation nextgen-gallery page php plugin plugins post posts RSS sidebar tags theme Themes upgrade wordpress upload sub-pages image upload php timeout

  2. zephynator
    Member
    Posted 2 years ago #

    Looks like the fix for me was to place the php.ini file in the wp-admin folder.

  3. lonb
    Member
    Posted 2 years ago #

    zephynator - You are a hero amongst men. I spent so much time trying to solve this, and tried everything. It was all about putting it in wp-admin folder!!! Fast and worked immediately.

    Thank you!

  4. GMedia123
    Member
    Posted 2 years ago #

    You will eventually run into problems with the wp-admin folder and it doesnt override hosts, servers, etc.. only the wordpress script.

  5. ojohnson
    Member
    Posted 2 years ago #

    If you're using (mt) Media temple, drop the php.ini file in the "etc" folder. That should do it.

    Thanks all,
    OJ

  6. eagles126
    Member
    Posted 1 year ago #

    This isnt giving me the solution.The small files around 100kb gets easily upload but files bigger than that wont.I dunno what the solution is?I did everything mentioned above and i have even added the code on htaccess file. The thing is IO error is still prevailing.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.