• Can I change the upload size of the video or no? I have a shooto lesson for schooling broke down in 80 meg clips and was wondering if i could change the limit? If so where can I find that php.ini file? Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,

    To modify the limit of php.ini you have to contact your hosting service provider to change the max_upload limit to the desired limit. If it is not possible to modify from the server end then ask for the xustom php.ini for your domain. And set it for your domain.

    Thanks,

    Shane G.

    Or try this code as a plugin. Copy it to a file in your plugins directory (something like php_adjustments.php) and the activate it in the Plugins section of the WordPress admin panel. Then try to upload a large file – who knows – it might work if your hosting company allows PHP settings to be overridden:

    <?php
    /*
    Plugin Name: PHP Settings
    Plugin URI: http://wpsecurity.net
    Description: Attempts to set the max upload size and script timeout settings in the server's PHP config
    Author: Mark - WPSecurity.net
    Version: 1.0
    Author URI: http://mpsecurity.net
    */
    ini_set('upload_max_size','100M');
    ini_set('post_max_size',105M');
    ini_set('max_execution_time,'300');
    ?>
    Thread Starter ref1mind

    (@ref1mind)

    wow…thanks! Ill give it a try but what do you mean copy it to a file? do i make a .php page and copy the code in it?

    Open up a text editor – if you use Windows then open Notepad (Start->Run then enter Notepad and press enter). Copy that code into Notepad, save it as some file name that ends in .php

    Then upload it to your wp-content/plugins directory using a FTP client – then go activate it in WordPress and try to upload a file big file – something larger than 16MB.

    Thread Starter ref1mind

    (@ref1mind)

    ok will do thank you

    Thread Starter ref1mind

    (@ref1mind)

    I GOT THIS ERROR WHEN TRYING TO ACTIVATE IT

    Parse error: syntax error, unexpected T_STRING in /home/mmaarena/public_html/wp-content/plugins/php_adjustments.php on line 11

    Sorry, there’s a typo. This line:

    ini_set(‘post_max_size’,105M’);

    Should be this:

    ini_set(‘post_max_size’,’105M’);

    Thread Starter ref1mind

    (@ref1mind)

    WELL IT ACTIVATED BUT IM STILL GETTING THE ERROR SAYING FILE SIZE IS TOO BIG…sorry bout caps

    thanks for your help though

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Your php.ini upload_max_filesize is 16M.????’ is closed to new replies.