'warning'=>lang('safe_mode is turned on, which is generaly a good thing as it makes your install more secure.')."\n".
lang('If safe_mode is turned on, eGW is not able to change certain settings on runtime, nor can we load any not yet loaded module.')."\n".
lang('*** You have to do the changes manualy in your php.ini (usualy in /etc on linux) in order to get eGW fully working !!!')."\n".
lang('*** Do NOT update your database via setup, as the update might be interrupted by the max_execution_time, which leaves your DB in an unrecoverable state (your data is lost) !!!')
),
'magic_quotes_runtime'=>array(
'func'=>'php_ini_check',
'value'=>0,
'verbose_value'=>'Off',
'safe_mode'=>'magic_quotes_runtime = Off'
),
'register_globals'=>array(
'func'=>'php_ini_check',
'value'=>0,
'verbose_value'=>'Off',
'warning'=>lang("register_globals is turned On, eGroupWare does NOT require it and it's generaly more secure to have it turned Off")
),
'memory_limit'=>array(
'func'=>'php_ini_check',
'value'=>'16M',
'check'=>'>=',
'error'=>lang('memory_limit is set to less than 16M: some applications of eGroupWare need more than the recommend 8M, expect occasional failures'),
'change'=>'memory_limit = 16M'
),
'max_execution_time'=>array(
'func'=>'php_ini_check',
'value'=>30,
'check'=>'>=',
'error'=>lang('max_execution_time is set to less than 30 (seconds): eGroupWare sometimes needs a higher execution_time, expect occasional failures'),
'safe_mode'=>'max_execution_time = 30'
),
'file_uploads'=>array(
'func'=>'php_ini_check',
'value'=>1,
'verbose_value'=>'On',
'error'=>lang('File uploads are switched off: You can NOT use any of the filemanagers, nor can you attach files in several applications!'),
),
'include_path'=>array(
'func'=>'php_ini_check',
'value'=>'.',
'check'=>'contain',
'error'=>lang('include_path need to contain "." - the current directory'),
),
'mysql'=>array(
'func'=>'extension_check',
'warning'=>"<div class='setup_info'>".lang('The %1 extension is needed, if you plan to use a %2 database.','mysql','MySQL').'</div>'
),
'pgsql'=>array(
'func'=>'extension_check',
'warning'=>'<div class="setup_info">'.lang('The %1 extension is needed, if you plan to use a %2 database.','pgsql','pgSQL').'</div>'
),
'mssql'=>array(
'func'=>'extension_check',
'warning'=>'<div class="setup_info">'.lang('The %1 extension is needed, if you plan to use a %2 database.','mssql','MsSQL').'</div>',
'win_only'=>True
),
'odbc'=>array(
'func'=>'extension_check',
'warning'=>'<div class="setup_info">'.lang('The %1 extension is needed, if you plan to use a %2 database.','odbc','MaxDB, MsSQL or Oracle').'</div>',
),
'oci8'=>array(
'func'=>'extension_check',
'warning'=>'<div class="setup_info">'.lang('The %1 extension is needed, if you plan to use a %2 database.','oci','Oracle').'</div>',
),
'mbstring'=>array(
'func'=>'extension_check',
'warning'=>'<div class="setup_info">'.lang('The mbstring extension is needed to fully support unicode (utf-8) or other multibyte-charsets.')."</div>"
),
'mbstring.func_overload'=>array(
'func'=>'php_ini_check',
'value'=>7,
'warning'=>'<div class="setup_info">'.lang('The mbstring.func_overload = 7 is needed to fully support unicode (utf-8) or other multibyte-charsets.')."</div>",
'warning'=>'<div class="setup_info">'.lang('The imap extension is needed by the two email apps (even if you use email with pop3 as protocoll).').'</div>'
),
'session'=>array(
'func'=>'extension_check',
'warning'=>'<div class="setup_info">'.lang('The session extension is needed to use php sessions (db-sessions work without).')."</div>"
),
''=>array(
'func'=>'pear_check',
'warning'=>'<div class="setup_info">'.lang('PEAR is needed by SyncML or the iCal import+export of calendar.')."</div>"
),
'Log'=>array(
'func'=>'pear_check',
'warning'=>'<div class="setup_info">'.lang('PEAR::Log is needed by SyncML.').' '.lang('You can install it by running:').' pear install Log'."</div>"
echo'<div>'.($available?$passed_icon:$warning_icon).' <span'.($available?'':' class="setup_warning"').'>'.lang('Checking extension %1 is loaded or loadable',$name).': '.($available?lang('True'):lang('False'))."</span></div>\n";
echo'<div>'.$error_icon.' <span class="setup_error">'.$msg.' '.lang('%1 is %2%3 !!!',$rel_name,$args['is_writable']?lang('not').' ':'',lang('writable by the webserver')).$extra_error_msg."</span></div>\n";
echo'<div>'.$error_icon.' <span class="setup_error">'.$msg.' '.lang('%1 is %2%3 !!!',$rel_name,$args['is_readable']?lang('not').' ':'',lang('readable by the webserver')).$extra_error_msg."</span></div>\n";
echo'*** '.lang('Please make the following change in your php.ini').' ('.get_php_ini().'): '.(@$args['safe_mode']?$args['safe_mode']:$args['change'])."<br />\n";
echo'*** '.lang('AND reload your webserver, so the above changes take effect !!!')."</div>\n";
echo"<div>".($available?$passed_icon:$warning_icon).' <span'.($available?'':' class="setup_warning"').'>'.lang('Checking for GD support...').': '.($available?lang('True'):lang('False'))."</span></div>\n";
if(!$available)
{
echolang('Your PHP installation does not have appropriate GD support. You need gd library version 1.8 or newer to see Gantt charts in projects.')."\n";
$GLOBALS['egw_setup']->html->show_header(lang('Welcome to the eGroupWare Installation'),False,'config');
echo'<h1>'.lang('Welcome to the eGroupWare Installation')."</h1>\n";
if(!$ConfigLang)
{
echo'<p><form action="check_install.php?intro=1" method="Post">Please Select your language '.lang_select(True,'en')."</form></p>\n";
}
echo'<p>'.lang('The first step in installing eGroupWare is to ensure your environment has the necessary settings to correctly run the application.').'</p>';
echo'<p>'.lang('We will now run a series of tests, which may take a few minutes. Click the link below to proceed.').'</p>';
echo'<p><a href="manageheader.php">'.lang('Skip the installation tests (not recommended)')."</a></p>\n";
$setup_tpl->pparse('out','T_footer');
exit;
}else{
$GLOBALS['egw_setup']->html->show_header(lang('Checking the eGroupWare Installation'),False,'config',$ConfigDomain?$ConfigDomain.'('.@$GLOBALS['egw_domain'][$ConfigDomain]['db_type'].')':'');
echo'<h1>'.lang('Checking the eGroupWare Installation')."</h1>\n";