Jump to content

Request for Max Upload Filesize Change

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
groogruxking40

groogruxking40

    Newbie

  • Members
  • Pip
  • 7 posts
Hey everyone..

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

1. I am using Wordpress 8.4
2. I am using Dreamhost and cannot locate either the php.ini or .htaccess file
3. I don't have php.ini or .htaccess in my root folder via FTP
4. 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/paste the entire .htaccess file that would allow me to upload to to 30MB files?

Thank you ahead of time

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Try creating an .haccess file and adding these lines:

php_value upload_max_filesize 30M
php_value post_max_size 30M

This is allowed by some hosts and not allowed by others. If your host allows custom php.ini files per user then that would be the best option. Only your host admin can tell you that though.