Jump to content

Recommended 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

 

 

Link to comment
https://forums.phpfreaks.com/topic/175509-request-for-max-upload-filesize-change/
Share on other sites

Just upload a htaccess file in the document root containing the following, its not hard:

 

php_value upload_max_filesize 30M

php_value post_max_size 30M

 

OK-

could you copy and paste the entire htaccess file?

 

also what do I name it and where does it go? I upload it via FTP to my root?

 

thank you!

That is the entire file!

 

Open notepad. Add the lines I posted. Save as .htaccess (make sure its not .htaccess.txt or anything similar). Upload to your document root i.e. The root directory where your web files sit.

That is the entire file!

 

Open notepad. Add the lines I posted. Save as .htaccess (make sure its not .htaccess.txt or anything similar). Upload to your document root i.e. The root directory where your web files sit.

 

I did this, but it saved it as 1.htaccess.txt  how do i go around this to make it just .htaccess?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.