Tipp: php.ini for 1and1 server


after several problems on a 1and 1 (1&1, 1und1) server, I installed their 1-click-app of C5 (version is being installed at this time).
By doing this the automatic installation process creates a php.ini file which you can use for your own C5 installation as well!
(see also the .htaccess you get with this type of install from 1&1, posting:http://www.concrete5.org/community/forums/installation/tipp-.htacce... )

Here the code (I added the last line myself to speed up transfer):

upload_max_filesize = 20M;
browscap = /usr/local/lib/browscap.ini;
error_reporting = (E_ALL & ~E_NOTICE & ~E_WARNING);
url_rewriter.tags = "a=href,area=href,frame=src,form=fakeentry,fieldset=";
register_globals = off;
allow_url_fopen = off;
max_execution_time = 50000;
safe_mode = off;
file_uploads = on;
magic_quotes_gpc = on;
memory_limit = 41943040;
short_open_tag = on;
post_max_size = 26214400;
zlib.output_compression = On;


View Replies:
JohntheFish replied on at Permalink Reply
That could help a lot of people. You should write that up for posterity in a howto.