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
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.
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
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
Yeah thats just giving me an Internal Server Error. No matter where I stick the .htaccess file.