WordPress.org

Ready to get started?Download WordPress

Forums

how to increase data upload limit (8 posts)

  1. slolavar
    Member
    Posted 1 year ago #

    I want to increase my data upload limit from 8MB. I have already contacted my host and have altered the code in the php.ini file as well as adding an extra line of code to the .htaccess file.

    However when I try to upload a file to my wordpress gallery it still says the limit is 8MB even though I have increased it to 100MB with my host.

    Please help!

  2. Fire Truck
    Member
    Posted 1 year ago #

    Visit Settings -> Permalinks so that WordPress updates its .htacess settings. Also make sure after that, that your edits are preserved, because WordPress tends to delete the changes you made to the .htaccess file if you make it inside the

    # BEGIN WordPress
    # END WordPress

    block

  3. slolavar
    Member
    Posted 1 year ago #

    Thanks so much for your response. When you say visit the settings>permalinks section, what should i do there? And where can I check that my edits have been preserved?
    Sorry I'm a bit of a novice at this programming stuff!

    Thanks

  4. Fire Truck
    Member
    Posted 1 year ago #

    You shouldn't do anything there, just opening the page is enough. At the end of the file .htaccess you should still see the lines that look like that:

    php_value upload_max_filesize 100M
    php_value post_max_size 100M
  5. slolavar
    Member
    Posted 1 year ago #

    Thanks again. So my .htaccess file currently looks like this:

    # -FrontPage-
    
    Options None
    
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    require group authors administrators
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthType Basic
    AuthName soosanlolavar.com
    AuthUserFile /home/soosanl1/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/soosanl1/public_html/_vti_pvt/service.grp
    SetEnv PHPRC /home/_EnterUserNameHere_/public_html
    php_value upload_max_filesize 200M
    php_value post_max_size 200M

    Is that correct?

    Thanks

  6. Fire Truck
    Member
    Posted 1 year ago #

    Is that correct?

    Yes.

  7. slolavar
    Member
    Posted 1 year ago #

    hmmm... I'm still unable to upload anything bigger than 8MB. Any ideas what mighr be the problem?

  8. Fire Truck
    Member
    Posted 1 year ago #

    No.

Topic Closed

This topic has been closed to new replies.

About this Topic