$value) { $language_keys[] = $key; $language_values[] = $value; } $_SESSION['language_keys'] = urlencode(implode(",",$language_keys)); $_SESSION['language_values'] = urlencode(implode(",",$language_values)); } global $dbconfig; if (isset($_REQUEST['db_host_name'])) { $db_host_name = $_REQUEST['db_host_name']; } elseif (isset($dbconfig['db_host_name'])) { $db_host_name = $dbconfig['db_host_name']; } else { $db_host_name = $H_NAME.$sock_path; } if (isset($_REQUEST['db_user_name'])) { $db_user_name = $_REQUEST['db_user_name']; } elseif (isset($dbconfig['db_user_name'])) { $db_user_name = $dbconfig['db_user_name']; } else { $db_user_name = $mysql_username; } if (isset($_REQUEST['db_password'])) { $db_password = $_REQUEST['db_password']; } elseif (isset($dbconfig['db_password'])) { $db_password = $dbconfig['db_password']; } else { $db_password = $mysql_password; } if (isset($_REQUEST['db_name'])){ $db_name = $_REQUEST['db_name']; } elseif (isset($dbconfig['db_name'])) { $db_name = $dbconfig['db_name']; } else { $db_name = 'vtigercrm4_2'; } !isset($_REQUEST['db_drop_tables']) ? $db_drop_tables = "0" : $db_drop_tables = $_REQUEST['db_drop_tables']; if (isset($_REQUEST['host_name'])) $host_name = $_REQUEST['host_name']; else $host_name = $_SERVER['SERVER_NAME']; if (isset($_REQUEST['site_URL'])) $site_URL = $_REQUEST['site_URL']; else $site_URL = $web_root; if (isset($_REQUEST['root_directory'])) $root_directory = stripslashes($_REQUEST['root_directory']); else $root_directory = $current_dir; if (isset($_REQUEST['cache_dir'])) $cache_dir= $_REQUEST['cache_dir']; if (isset($_REQUEST['mail_server'])) $mail_server= $_REQUEST['mail_server']; if (isset($_REQUEST['mail_server_username'])) $mail_server_username= $_REQUEST['mail_server_username']; if (isset($_REQUEST['mail_server_password'])) $mail_server_password= $_REQUEST['mail_server_password']; if (isset($_REQUEST['admin_email'])) $admin_email = $_REQUEST['admin_email']; if (isset($_REQUEST['admin_password'])) $admin_password = $_REQUEST['admin_password']; } else { !isset($_REQUEST['db_host_name']) ? $db_host_name = $H_NAME.$sock_path : $db_host_name = $_REQUEST['db_host_name']; !isset($_REQUEST['db_user_name']) ? $db_user_name = $mysql_username : $db_user_name = $_REQUEST['db_user_name']; !isset($_REQUEST['db_password']) ? $db_password= $mysql_password : $db_password = $_REQUEST['db_password']; !isset($_REQUEST['db_name']) ? $db_name = "vtigercrm4_2" : $db_name = $_REQUEST['db_name']; !isset($_REQUEST['db_drop_tables']) ? $db_drop_tables = "0" : $db_drop_tables = $_REQUEST['db_drop_tables']; !isset($_REQUEST['host_name']) ? $host_name= $_SERVER['SERVER_NAME'] : $host_name= $_REQUEST['host_name']; !isset($_REQUEST['site_URL']) ? $site_URL = $web_root : $site_URL = $_REQUEST['site_URL']; !isset($_REQUEST['root_directory']) ? $root_directory = $current_dir : $root_directory = stripslashes($_REQUEST['root_directory']); !isset($_REQUEST['cache_dir']) ? $cache_dir = $cache_dir : $cache_dir = stripslashes($_REQUEST['cache_dir']); !isset($_REQUEST['mail_server']) ? $mail_server = $mail_server : $mail_server = stripslashes($_REQUEST['mail_server']); !isset($_REQUEST['mail_server_username']) ? $mail_server_username = $mail_server_username : $mail_server_username = stripslashes($_REQUEST['mail_server_username']); !isset($_REQUEST['mail_server_password']) ? $mail_server_password = $mail_server_password : $mail_server_password = stripslashes($_REQUEST['mail_server_password']); !isset($_REQUEST['admin_email']) ? $admin_email = "" : $admin_email = $_REQUEST['admin_email']; } ?> vtiger CRM 4.2 Installer: Step 2
vtiger CRM

Step 2 of 5

vtiger CRM

System Configuration


Please enter your database configuration information below...

If you do not have root access to your database (for example you are installing in a virtual hosting environment), you will need to have your database created for you before you proceed. However, this installer will still be able to create the necessary database tables.

If you unsure of your database host, username or password, we suggest that you use the default values below.

* Required field

Database Configuration

Host Name * " />
User Name * " />
Password * " />
Database Name * " />

Site Configuration

URL *
Path * " size="40" />
Path to Cache Directory *
(must be writable)

Admin Configuration

username admin
password* ">
Note: The default password is 'admin'. You can change the password if necessary now or else you can change it later in vtiger CRM