• The media upload function won’t let me upload audio files larger than 2MB. That’s not good. Where do I change that limit?

Viewing 4 replies - 1 through 4 (of 4 total)
  • That limit is the php directive upload_max_filesize you can either edit your php.ini file or try putting this in your .htaccess file. Some hosts don’t allow php_value in htaccess files, if not you might can ask your host to increase the limit.

    php_value upload_max_filesize 16M
    php_value post_max_size 16M
    Thread Starter mochimaddotcom

    (@mochimaddotcom)

    Starting from my present htaccess file, would it be like so?

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    php_value upload_max_filesize 16M
    php_value post_max_size 16M

    # END WordPress

    Yes that looks right, if your hosts allows it, it should work now.

    I don’t have access to my .htaccess file, but I am able to edit my php.ini file.

    However, I don’t see any limiting code in the php.ini file? I added the above code to the file, but it is still restricting my audio file upload.

    register_globals = off
    allow_url_fopen = off
    
    expose_php = Off
    max_input_time = 60
    variables_order = "EGPCS"
    extension_dir = ./
    upload_tmp_dir = /tmp
    precision = 12
    SMTP = relay-hosting.secureserver.net
    url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
    
    [Zend]
    zend_extension=/usr/local/zo/ZendExtensionManager.so
    zend_extension=/usr/local/zo/4_3/ZendOptimizer.so
    
    php_value upload_max_filesize 16M
    php_value post_max_size 16M
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Audio Player] Audio file upload size too big?’ is closed to new replies.