[resolved] Php.ini problem with uploader (12 posts)

  1. 2tonewarrior
    Posted 7 years ago #

    Hello, when i try to upload a file througt the flash uploader it runs an error "El archivo es demasiado grande. El tamaño máximo permitido por tu php.ini es de 200000M. ( the file is too big. The max. size permited by your php.ini is 200000M) and i am trying to upload a pdf!!(about 9 Mb) How is this possible?

    Can anyone help me please?


    p.d.: normal uploader, obviously goes right

  2. 2tonewarrior
    Posted 7 years ago #

    nobody help me? :S

  3. 2tonewarrior
    Posted 7 years ago #


  4. 2tonewarrior
    Posted 7 years ago #

    no idea?

  5. ideahaus
    Posted 7 years ago #

    I read in another stream it has to do with modify a code line in php.ini and having Apache restarted from your host (just paraphrasing). I searched based on the error I received.

    Hope this helps.


  6. vetto
    Posted 7 years ago #

    I have the same problem with the flash uploader. It says my max file size in php.ini is 2M. That is NOT true, according to phpinfo my max file upload size is 55M and that is confirmed in my php.ini file.

    Flash 9, WP 2.6.2
    swfuploader_f9.swf version from svn trunk (version from 2.6.2 was missing in my installation)

  7. Clayton James
    Posted 7 years ago #

    "PHP has two settings called upload_max_filesize and post_max_size, which can control how big a file you can upload. The smaller wins."


  8. 2tonewarrior
    Posted 7 years ago #

    My php.ini

    safe_mode = off;
    max_execution_time = 100000;
    max_input_time = 1000000;
    open_basedir =
    upload_max_filesize = 200000M;
    post_max_size = 1000000M;
    register_argc_argv = On;
  9. 2tonewarrior
    Posted 7 years ago #

    any other idea to fix the problem?

  10. rblout
    Posted 7 years ago #

    This response is for those who manage their own Linux server. If you do not, then your services' admin would have to make the changes since you most likely would not have the authority. On a Linux box determine what php.ini file your php is using. Do this with a file called junk.php for example. It should look like:

    phpinfo() ;

    In your browser of choice enter: "http://www.yoursite.com/junk.php"

    This will output a lot if data if your php environment is functioning properly. Look for the following:

    Configuration file path - your php.ini file
    upload_max_filesize 2M

    vi your php.ini file (noted in the above output) looking for "upload_max_filesize" and change it to what you think you need, i.e., 33M. Restart apache
    (service httpd restart) to pick up the new value. Look at "http://www.yoursite.com/junk.php" (may need to force a refresh) to see your new "upload_max_filesize" value. This should correct your 2M limitation.

    I have seen a lot of posts where many have changed this value in their php.ini file and "nothing happens". I am assuming that this is because the apache server (or whatever they are using) is not being restarted to acquire these new values.

    Hope this helps.

  11. Shane G
    Posted 7 years ago #


    You need to add this code in any php file and upload it in the plugins directory. After that need to activate this plugin.


    This should resolve the issue.


    Shane G.

  12. seborgarsen
    Posted 6 years ago #

    Nah, this breaks into this error behind the uploader popup, back on edit post:

    Warning: Cannot modify header information - headers already sent by (output started at /home/www/domain/wp-content/plugins/fix_flash_upload_filesizes.php:12) in /home/www/domain/wp-includes/classes.php on line 1586

    WP 2.8.5

    Fixed the comma and the quotes into:


    Ps. if you don't include a proper header, WP disables the plugin anyway. This is nuked.

Topic Closed

This topic has been closed to new replies.

About this Topic