Install Maian Guardian

Server Requirements
PHP5.5 or higher. PHP7.0 or higher is recommended.
1 MySQL database to hold the script tables. MySQL5+ is recommended. This is set up on your web server.
MySQL Improved Extension (mysqli) functions enabled on server for database connection. Note that MySQL running in STRICT mode is NOT currently supported.
JSON functions enabled on server for ajax responses.
Mcrypt library enabled for data encryption (not required for white label licence). Required for PHP5.5 to PHP7.0* ONLY.
OpenSSL library enabled for data encryption (not required for white label licence). PHP7.1 or higher ONLY.
ZipArchive Class enabled for zip downloads.
CURL functions enabled for software version check and API.
shell_exec function enabled on server for command line operations.
Source Guardian encoding software.

The installer will check what functions are available.

You MUST also have a good understanding of Source Guardian and how its "licgen" program works. If you don`t understand Source Guardian, please ask for assistance on their support forums. I can offer no support for Source Guardian.
1 Create MySQL Database
If you don`t have a database available, create one via your server control panel. Most server control panels have easy options to create databases, but if you are unsure, contact your host. Once a database is available, open the 'control/connect.php' file in your text editor and update the connection parameters. Example:

define('DB_HOST', 'localhost');
define('DB_USER', 'joeblogs_admin');
define('DB_PASS', '12345XX');
define('DB_NAME', 'guardian');
define('DB_PREFIX', 'mg_');
define('DB_CHAR_SET', 'utf8');
2 Secret Key
Also, in the 'control/connect.php' file set a unique secret key (or salt) value. This should be a combination of letters, numbers and/or special characters.

You can use the MSWorld secret key service to generate a unique key. See the connection file for more information.
3 Set Administration Password
Again, in your text editor, open the 'admin/control/access.php' file and enter a global admin user/pass. Examples:

define('USERNAME', 'admin');
define('PASSWORD', 'admin');
You can also restrict the login to certain IP addresses ONLY for security. Enter one or more IP addresses separated with a comma. Useful only if you have a fixed IP address. Leave blank for no IP restriction. Examples:

define('IP', '127.0.0.1');
define('IP', '127.0.0.1,78.150.204.108');
Note that this is not a server IP restriction.

The global user has access to all areas. You can also add additional staff members via the staff menu option in your admin area. Staff added here can have restricted privileges. The IP restriction set above would also apply to other staff members if set.
4 FTP
Using a good FTP program such as FileZilla, WinSCP or Cyberduck, transfer the 'guardian' folder to your web server. You may rename the folder if you wish or have the files in your public html root not inside a folder.
5 Permissions
Give the following directories read/write permissions. Chmod to 0777 on Linux or 0755 if supported.

admin/backup/
logs/
lic/
You may be able to do this directly in your FTP via the right click menu.
6 Run Installer
Access the installer in your browser via the 'install/index.php' file. Follow the onscreen instructions.

Important: When you have run the installer, rename or delete the 'install' folder from your server.

(Advanced users may prefer to manually run the 'docs/schematic/database-schema.sql' file)
7 Update Settings
Once the installer is run, log into your administration centre (admin/index.php) with the user/pass you specified above and update your settings.
8 SMTP Setup
Set up a SMTP account so the system can send emails.
9 Rename Admin Folder
For extra security it is recommended you rename the 'admin' folder to something else. If you rename the folder, enter the new folder name in the 'ADMIN_FOLDER' value in the 'admin/control/defined.php' file.
10 Install Source Guardian licgen Program
Refer to the licgen program instructions.
11 Creating Products
Refer to the License Setup section for help in setting up your software to use an external program in Source Guardian. Once you have that in place you can add your products to Maian Guardian.
12 Auto Create Licenses
Once your products are in Maian Guardian, you`ll need to setup your payment routines to transmit POST data to Maian Guardian via the API. More info here.