Forums

Change the File Upload Size (7 posts)

  1. groogruxking40
    Member
    Posted 2 years ago #

    Hey everyone..

    I would like to be able to upload .pdfs that are 30MB

    1. I am using Dreamhost and cannot locate either the php.ini or .htaccess file
    2. I don't have php.ini or .htaccess in my root folder via FTP
    3. I e-mailed Dreamhost and they said they cannot do it on their end

    I would like to know if I just create a php.ini file and if so can someone copy/paste the entire php.ini file that would allow me to upload up to 30MB files?

    OR

    I would like to know if I just create a .htacess file and if so can someone copy/paaste the entire .htaccess file that would allow me to upload to to 30MB files?

    Thank you ahead of time

  2. Shane G
    Member
    Posted 2 years ago #

    Hi,

    YOu can crate .htaccess file from your end and put that file under the root folder of your domain. You need to add this code in htaccess to modify the upload size:

    php_value upload_max_filesize 30M
    php_value post_max_size 30M
    php_value memory_limit 30M

    Thanks,

    Shane G.

  3. groogruxking40
    Member
    Posted 2 years ago #

    Shane,
    I don't even have a htaccess file..

    could you copy and paste the entire htaccess file for me to create?

    thank you

  4. Samuel B
    moderator
    Posted 2 years ago #

  5. groogruxking40
    Member
    Posted 2 years ago #

    so I just open up say.. notepad

    type the 3 lines of code and save it as 1.htaccess ?

    and then rename it to .htaccess?

    let me know and thanks for the help

  6. Samuel B
    moderator
    Posted 2 years ago #

    yep - that's it

  7. bayne
    Member
    Posted 2 years ago #

    Yeah thats just giving me an Internal Server Error. No matter where I stick the .htaccess file.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.