if you are done and wrote the config without errors you can go here to finish the setup
Analysis
"; echo "please check read/write permissions on directories or back up and download the file. Then save it to the correct location
"; echo "
"; exit; }else{ $template = fread($ftemplate,filesize(dirname($SCRIPT_FILENAME)."../header.inc.php.template")); fclose($ftemplate); while(list($k,$v) = each($HTTP_POST_VARS)) { echo "Replace token '__".strtoupper($k)."__' with value '$v'
\n"; $template = ereg_replace("__".strtoupper($k)."__",$v,$template); } fwrite($fsetup,$template); fclose($fsetup); echo "Created header.inc.php!
"; } }else{ echo "could not open template header for reading !
"; exit; } } $supported_db = array(); if(extension_loaded("mysql")) { echo "You appear to have MySQL support enabled
\n"; $supported_db[] = "mysql"; } else { echo "No MySQL support found. Disabling
\n"; } if(extension_loaded("pgsql")) { echo "You appear to have Postgres-DB support enabled
\n"; $supported_db[] = "pgsql"; } else { echo "No Postgres-DB support found. Disabling
\n"; } if(extension_loaded("oci8")) { echo "You appear to have Oracle V8 (OCI) support enabled
\n"; $supported_db[] = "oracle"; } else { if(extension_loaded("oracle")) { echo "You appear to have Oracle support enabled
\n"; $supported_db[] = "oracle"; } else { echo "No Oracle-DB support found. Disabling
\n"; } } if(!count($supported_db)) { echo "

did not found any valid DB support !
try to configure your php to support one of the above mentioned dbs or install phpgroupware by hand

"; exit; } $no_guess = false; $may_test = false; if(file_exists("../header.inc.php") && is_file("../header.inc.php")) { echo "found configuration. using this for defaults
\n"; $phpgw_info["flags"]["noapi"] = True; include("../header.inc.php"); $no_guess = true; $may_test = true; } else { echo "sample configuration not found. using built in defaults
\n"; $phpgw_info["server"]["server_root"] = "/path/to/phpgroupware"; $phpgw_info["server"]["include_root"] = "/path/to/phpgroupware/inc"; /* This is the basic include needed on each page for phpGroupWare application compliance */ $phpgw_info["flags"]["htmlcompliant"] = True; /* These are the settings for the database system */ $phpgw_info["server"]["db_host"] = "localhost"; $phpgw_info["server"]["db_name"] = "phpgroupware"; $phpgw_info["server"]["db_user"] = "phpgroupware"; $phpgw_info["server"]["db_pass"] = "your_password"; $phpgw_info["server"]["db_type"] = "mysql"; //mysql, pgsql (for postgresql), or oracle /* These are a few of the advanced settings */ $phpgw_info["server"]["config_passwd"] = "changeme"; $phpgw_info["server"]["mcrypt_enabled"] = False; $phpgw_info["server"]["mcrypt_version"] = "2.6.3"; $phpgw_info["server"]["mcrypt_iv"] = "cwjasud83l;la-0d.e/lc;[-%kl)ls,lf0;sa-;921kx;90flwl,skfcujd,wsodsp"; } // now guessing better settings then the default ones if(!$no_guess) { echo "Now guessing better values for defaults
\n"; $this_dir = dirname($SCRIPT_FILENAME); $updir = ereg_replace("/setup","",$this_dir); $phpgw_info["server"]["server_root"] = $updir; $phpgw_info["server"]["include_root"] = $updir."/inc"; } ?> Test DB Connection
\n"; } echo "\n"; } ?> Settings
Server Root
"> Include Root
"> htmlcompliant
DB Host
">Hostname/IP of Databaseserver DB Name
">Name of Database DB User
">Name of DB User as phpgroupware has to connect as DB Password
">Password of DB User DB Type
What Database do you want to use with PHPGroupWare? Configuration Password
">Password needed for configuration Enable MCrypt
MCrypt version
">Set this to "old" for versions < 2.4, otherwise the exact mcrypt version you use MCrypt initilazation vector
">It should be around 30 bytes in length Warning!
The db_type in defaults (".$phpgw_info["server"]["db_type"].") is not supported on this server. using first supported type.
"; } ?> or