In UserPanel there are no much to configure. only you have to configure very few configuration options.

Base URL

To set Base URL in config.php file, follow step by step bellow instructions.

  1. Open config.php under application/config directory.
  2. Find $config['base_url'] = ''; and set it with your base URL. e.i. if you are installed UserPanel on localhost then it should be $config['base_url'] = 'http://localhost/userpanel/';, if you are installed UserPanel on remote host with your own domain, then it will be like $config['base_url'] = '';

Localhost example

localhost base url

Remotehost example

remotehost base url

.HTACCESS compatibility

.HTACCESS support in your webhost is optional for UserPanel thats mean UserPanel can run with or without .HTACCESS support. but you have to configure that is config.php file.

If .HTACCESS support in your webhost

If your webhost support for .HTACCESS, then you dont have to do any configurations in config.php file.

If .HTACCESS not support in your webhost

If your webhost not support for .HTACCESS, then simply set $config['index_page'] = ''; configuration item like $config['index_page'] = 'index.php'; in config.php file.

index page

Database configuration

After you create a brand new database for UserPanel app and import userpanel.sql file. you have to do some configurations in database.php file under application/config directory.

database config file

These are the database configurations you have to do.

$active_group = 'default';
$query_builder = TRUE;

$db['default'] = array(
	'dsn'	=> '',
	'hostname' => 'localhost',
	'username' => 'root',
	'password' => '',
	'database' => 'userpanel',
	'dbdriver' => 'mysqli',
	'dbprefix' => '',
	'pconnect' => FALSE,
	'db_debug' => (ENVIRONMENT !== 'production'),
	'cache_on' => FALSE,
	'cachedir' => '',
	'char_set' => 'utf8',
	'dbcollat' => 'utf8_general_ci',
	'swap_pre' => '',
	'encrypt' => FALSE,
	'compress' => FALSE,
	'stricton' => FALSE,
	'failover' => array(),
	'save_queries' => TRUE

Dont freak out! you dont have to configure all those database configurations. only you have to configure is few of them. please check the bellow image.

db configurations