2021-11-19 21:46:31 +01:00
|
|
|
<?php
|
|
|
|
// This is a sample config file that can be copied to webroot
|
|
|
|
// (e.g. /var/www/html) as "config.php" and adjusted as needed.
|
|
|
|
|
|
|
|
// $*_binary is the full path & file where a license manager binary is located.
|
|
|
|
// They must have execute permissions for the web server user.
|
|
|
|
// FlexLM (lmutil) and Mathematica (monitorlm) are currently supported.
|
|
|
|
$lmutil_binary="/usr/local/bin/lmutil";
|
|
|
|
$monitorlm_binary="/usr/local/bin/monitorlm";
|
|
|
|
|
|
|
|
// $cache_dir specifies what directory is used to store/process cache files.
|
|
|
|
// /tmp is not advised. $cache_lifetime is how long a cache file is retained
|
|
|
|
// in seconds. e.g. 7200 = 2 hours.
|
|
|
|
$cache_dir="/var/cache/phplw/";
|
|
|
|
$cache_lifetime=7200;
|
|
|
|
|
|
|
|
// License expiration alerts are sent to $notify_address.
|
|
|
|
// $do_not_reply_address is filled in the reply field.
|
|
|
|
// License alert emails are disabled when either is left blank.
|
|
|
|
// Licenses expiring within $lead_time (in days) are included in the alerts.
|
|
|
|
$notify_address="";
|
|
|
|
$do_not_reply_address="";
|
|
|
|
$lead_time=30;
|
|
|
|
|
|
|
|
// $disable_autorefresh, when set to 1, will halt automatic refresh of certain
|
|
|
|
// page views. Make sure $collection_interval matches, in minutes, the cron
|
|
|
|
// schedule for license_util.php.
|
2019-12-30 10:45:18 +01:00
|
|
|
$disable_autorefresh=0;
|
2021-11-19 21:46:31 +01:00
|
|
|
$collection_interval=10;
|
|
|
|
|
|
|
|
// Database information. Note that only the mysqli driver is suppoprted.
|
2019-12-30 10:45:18 +01:00
|
|
|
$db_hostname="localhost";
|
2021-11-19 21:46:31 +01:00
|
|
|
$db_username="__DB_USER__";
|
|
|
|
$db_password="__DB_PWD__";
|
|
|
|
$db_database="__DB_NAME__";
|
|
|
|
|
|
|
|
// IMPORTANT: Change this to 0 when used in production!
|
|
|
|
// Allows debug logging when set to 1.
|
|
|
|
$debug=0;
|
|
|
|
|
2019-12-30 10:45:18 +01:00
|
|
|
?>
|