Skip to main content
Skip table of contents

Config file - config.php

The file must have the db section with credentials for the DB. Other sections are optional.

The section admin_channel , except 'admin_file_path', should be used when AWS Secret Manger is used.

If AWS Secret Manger is not used, the field key_file is the path where key file (admin_channel.pem) and admin_channel.json are stored on the disk. If key_file value is empty, key file (admin_channel.pem) and admin_channel.json have to be located in the config.d folder.

Below is an example of a config.php file.

CODE
<?php $config = array (
  'db' => 
  array (
    'host' => 'localhost',
    'dbname' => 'webclient',
    'username' => 'webclient',
    'userpass' => 'webclient',
  ),
  'email' => 
  array (
    'host' => '',
    'port' => '',
    'address' => '',
    'password' => '',
    'from_name' => '',
    'smtp_secure' => '',
  ),
  'capture_id' => 'cloudone5494179',
  'vxg_service' => 
  array (
    'host' => '',
    'port' => '',
    'key' => '',
  ),
  'admin_channel' => 
  array (
    'admin_file_path' => 'C:\Temp\',
    'aws_access_key_id' => 'AKIAV26TCDAT3ZBERGHE',
    'aws_secret_access_key' => '8QefKhAot80YUXih7lcYgEBi5wV27PN5n2PVgQyR',
    'aws_region' => 'us-east-1',
  ),
);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.