Change php.ini @ 1and1.com
Posted: Thu Mar 31, 2005 4:22 pm
Does anyone use 1and1.com for hosting and know how to change some of the settings?
I need to change post_max_size, upload_max_filesize, and the memory_limit. Does anyone know if this is possible? I don't have access to the php.ini, and ini_set doesn't seem to work. I tried making a .htaccess file, but it just throws up an error for me when I try to load any page. I don't really get .htaccess so maybe I did it incorrectly.
I just put a .htaccess file in the root of my space with:
I need to change post_max_size, upload_max_filesize, and the memory_limit. Does anyone know if this is possible? I don't have access to the php.ini, and ini_set doesn't seem to work. I tried making a .htaccess file, but it just throws up an error for me when I try to load any page. I don't really get .htaccess so maybe I did it incorrectly.
I just put a .htaccess file in the root of my space with:
Code: Select all
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
file_uploads = On ; Whether to allow HTTP file uploads
;upload_tmp_dir = ; temporary directory for HTTP uploaded files (will use system default if not specified)
upload_max_filesize = 10M ; Maximum allowed size for uploaded files