WordPress.org

Ready to get started?Download WordPress

Forums

WordPress won't change my 8mb file upload limit (8 posts)

  1. elsatrento
    Member
    Posted 4 years ago #

    As the title, my provider assured me I have a 16 mb limit, but wordpress blocks me at 8. Anybody knows why? I took a look around in the forum, but no php.ini file.

  2. elsatrento
    Member
    Posted 4 years ago #

    Anyone?

  3. Shane G.
    Member
    Posted 4 years ago #

    Hi,

    Add this code in htaccess and have a check:

    php_value upload_max_filesize 20M
    php_value post_max_size 20M
    php_value max_execution_time 200
    php_value max_input_time 200

    This will allow you to upload up to max 20MB. You can change the limit according to your requirement.

    Thanks,

    Shane G.

  4. elsatrento
    Member
    Posted 4 years ago #

    I can't find this file, where should it be?

  5. Shane G.
    Member
    Posted 4 years ago #

    Hi,

    .htaccess file should be in the root folder of your domain. If you do not find it then contact your hosting service provider.

    Thanks,

    Shane G.

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    frequently, you can just make your own php.ini in your root

    just put that code in a file, and name it php.ini

  7. coconnel
    Member
    Posted 3 years ago #

    I am trying to upload the students' daily news show. Right now, it is so tiny. How do I make my own php.ini in my root? When you say, just put that code in a file, and name it php.ini, how would I do that to a .mov?

  8. Jam
    Member
    Posted 3 years ago #

    To make php.ini, make a blank .txt file (Not using a word processor) and put that code in it, and save it as php.ini (as any file, NOT .txt)

    You would have to go to your FTP server (if you don't know what that is, you can contact your hosting service, or go to ftp://yourdomain.com)

    I believe that if you add the php.ini file with that code, it will effect your entire website, allowing you to upload a larger file size. You don't need do change your .mov file.

    Hope that helps!

Topic Closed

This topic has been closed to new replies.

About this Topic