• 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Looks like the fix for me was to place the php.ini file in the wp-admin folder.

    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!

    Thread Starter gmedia123

    (@gmedia123)

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

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

    Thanks all,
    OJ

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fix upload problem with IO error max size image/media’ is closed to new replies.