Jump to content

Increase file upload size on 1and1 hosting ??


spacepoet

Recommended Posts

Hi:

 

I have a site hosted (shared) on 1and1.com hosting, and they seem to have a file upload limit of 2MB.

 

Is there a way to overwrite this? I have been trying a .htaccess and php.ini file, but can't get it to work.

 

The folder with the upload form is called "admin," in the ROOT of the site.

 

Been trying (in both the ROOT and the "admin" folder):

php.ini

; Maximum size of POST data that PHP will accept.
post_max_size = 8M

; Maximum allowed size for uploaded files.
upload_max_filesize = 8M

ini_set('memory_limit','128M');

 

.htaccess (in both the ROOT and the "admin" folder):

php_value memory_limit 24M

 

That is all the code in each file - am I missing some code?

 

Can this be done?

 

Thank you.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.