• slolavar

    (@slolavar)


    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!

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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

    Thread Starter slolavar

    (@slolavar)

    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

    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

    Thread Starter slolavar

    (@slolavar)

    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

    Is that correct?

    Yes.

    Thread Starter slolavar

    (@slolavar)

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

    No.

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

The topic ‘how to increase data upload limit’ is closed to new replies.