| Server IP : 123.56.80.60 / Your IP : 216.73.216.78 Web Server : Apache/2.4.54 (Win32) OpenSSL/1.1.1s PHP/7.4.33 mod_fcgid/2.3.10-dev System : Windows NT iZhx3sob14hnz7Z 10.0 build 14393 (Windows Server 2016) i586 User : SYSTEM ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /wamp/scripts/ |
Upload File : |
<?php
//3.2.9 - PHP parameters deprecated, suppressed or new since PHP version
// Options to choose 'default-storage-engine' MySQL and MariaDB
if(!defined('WAMPTRACE_PROCESS')) require 'config.trace.php';
if(WAMPTRACE_PROCESS) {
$errorTxt = "script ".__FILE__;
$iw = 1; while(!empty($_SERVER['argv'][$iw])) {$errorTxt .= " ".$_SERVER['argv'][$iw];$iw++;}
error_log($errorTxt."\n",3,WAMPTRACE_FILE);
}
$wamp_versions_here = $Alias_Contents = array();
$configurationFile = '../wampmanager.conf';
// Loading Wampserver configuration
$wampConf = @parse_ini_file($configurationFile,false,INI_SCANNER_RAW);
$c_installDir = $wampConf['installDir'];
$configurationFile = $c_installDir.'/wampmanager.conf';
$templateFile = $c_installDir.'/wampmanager.tpl';
$wampserverIniFile = $c_installDir.'/wampmanager.ini';
$wwwDir = $c_installDir.'/www';
$langDir = $c_installDir.'/lang/';
$aliasDir = $c_installDir.'/alias/';
$modulesDir = 'modules/';
$logDir = 'logs/';
$wampBinConfFiles = 'wampserver.conf';
$phpConfFileForApache = 'phpForApache.ini';
// List of log files
$logFilesList = glob($c_installDir.'/'.$logDir.'*.log');
//We enter the variables of the template with the local conf
$c_wampVersion = $wampConf['wampserverVersion'];
$wamp_versions_here += array('wamp_update' => $c_wampVersion);
$c_wampMode = $wampConf['wampserverMode'];
$c_wampserverID = ($c_wampMode == '32bit') ? '{wampserver32}' : '{wampserver64}';
$c_wampserverBase = 'TWFkZSBpbiBGcmFuY2UgYnkgRG9taW5pcXVlIE90dGVsbG8=';
$c_navigator = $wampConf['navigator'];
$c_wampVersionInstall = 'unknown';
$c_wampVersionUpdate = '';
if(!empty($wampConf['installVersion'])) {
$c_wampVersionInstall = $wampConf['installVersion'];
if(!empty($wampConf['installDate'])) $c_wampVersionInstall .= ' installed on '.$wampConf['installDate'];
if($c_wampVersion <> $wampConf['installVersion']) {
if(!empty($wampConf['update'.$c_wampVersion]))
$c_wampVersionUpdate .= 'Updated to '.$c_wampVersion.' on '.$wampConf['update'.$c_wampVersion];
}
}
//Retrieve Windows charset
/*
--- Normal (French Windows)
Text_Encoding=Array
(
[IsSingleByte] => True
[BodyName] => iso-8859-1
[EncodingName] => Europe de l'Ouest (Windows)
[HeaderName] => Windows-1252
[WebName] => Windows-1252
[WindowsCodePage] => 1252
[CodePage] => 1252
[LocaleCtype] => 1252
)
--- With beta utf-8 checked in Configuration Panel
--- Region -> Administration -> Change regional settings
--- Beta: Use Unicode UTF-8 format for global language support
Text_Encoding=
Array
(
[IsSingleByte] => False
[BodyName] => utf-8
[EncodingName] => Unicode (UTF-8)
[HeaderName] => utf-8
[WebName] => utf-8
[WindowsCodePage] => 1200
[CodePage] => 65001
[LocaleCtype] => 1252
*/
$Windows_Charset = '';
$Text_Encoding = array('IsSingleByte' => '','BodyName' => '','EncodingName' => '','HeaderName' => '','WebName' => '','WindowsCodePage' => '', 'CodePage' => '');
$command = 'CMD /D /C powershell [System.Text.Encoding]::Default';
$output = `$command`;
foreach($Text_Encoding as $key => $value) {
if(preg_match('~^'.$key.'\s+:\s+(.+)~mi',$output,$matches) === 1) {
$Text_Encoding[$key] = $matches[1];
}
}
$Text_Encoding['LocaleCtype']= trim(strstr(setlocale(LC_CTYPE,''),'.'),'.');
$Windows_Charset = 'Windows-'.$Text_Encoding['LocaleCtype'];
//To be able to launch projects by IP instead of localhost
//http://169.254.x.y/myproject/ instead of http://localhost/myproject/
$c_local_host = gethostname();
$c_local_ip = (($c_local_host !== false) ? gethostbyname($c_local_host) : 'localhost');
// See Message For information items in configuration submenus
$seeInfoMessage = true;
//For Windows 10 and Edge it is not the same as for other browsers
//It is not complete path to browser with parameter http://website/
//but by 'cmd.exe /c "start /b Microsoft-Edge:http://website/"'
$c_edge = "";
$c_edgeDefinedError = false;
if($c_navigator == "Edge") {
//Check if Windows 10
if(php_uname('r') < 10) {
error_log("Edge should be defined as default navigator only with Windows 10");
if(file_exists("c:/Program Files (x86)/Internet Explorer/iexplore.exe"))
$c_navigator = "c:/Program Files (x86)/Internet Explorer/iexplore.exe";
elseif(file_exists("c:/Program Files/Internet Explorer/iexplore.exe"))
$c_navigator = "c:/Program Files/Internet Explorer/iexplore.exe";
else
$c_navigator = "iexplore.exe";
$c_edgeDefinedError = true;
}
else {
// There are several methods to launch Edge from the command line with a url in parameter :
// /c start microsoft-edge:http://localhost/
// /c start shell:AppsFolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge http://localhost/
$c_navigator = "cmd.exe";
$c_edge = "/c start /b Microsoft-Edge:";
//$c_edge = "/c start shell:AppsFolder\\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge ";
}
}
$c_editor = $wampConf['editor'];
$c_logviewer = $wampConf['logviewer'];
//Adding Variables for Ports
$c_DefaultPort = "80";
$c_UsedPort = $wampConf['apachePortUsed'];
$c_DefaultMysqlPort = $wampConf['mysqlDefaultPort'];
$c_UsedMysqlPort = $wampConf['mysqlPortUsed'];
$c_UsedMariaPort = $wampConf['mariaPortUsed'];
//Variables for Apache
$c_apacheService = $wampConf['ServiceApache'];
$c_apacheVersion = $wampConf['apacheVersion'];
$c_apacheServiceInstallParams = $wampConf['apacheServiceInstallParams'];
$c_apacheServiceRemoveParams = $wampConf['apacheServiceRemoveParams'];
$c_apacheVersionDir = $c_installDir.'/bin/apache';
$c_apacheBinDir = $c_apacheVersionDir.'/apache'.$wampConf['apacheVersion'].'/'.$wampConf['apacheExeDir'];
$c_apacheModulesDir = $c_apacheVersionDir.'/apache'.$wampConf['apacheVersion'].'/modules';
$c_apacheConfDir = $c_apacheVersionDir.'/apache'.$wampConf['apacheVersion'].'/'.$wampConf['apacheConfDir'];
$c_apacheConfFile = $c_apacheConfDir.'/'.$wampConf['apacheConfFile'];
$c_apacheVhostConfFile = $c_apacheVersionDir.'/apache'.$wampConf['apacheVersion'].'/'.$wampConf['apacheConfDir'].'/extra/httpd-vhosts.conf';
$c_apacheAutoIndexConfFile = $c_apacheVersionDir.'/apache'.$wampConf['apacheVersion'].'/'.$wampConf['apacheConfDir'].'/extra/httpd-autoindex.conf';
$c_apacheDefineConf = $c_apacheVersionDir.'/apache'.$c_apacheVersion.'/wampdefineapache.conf';
$c_apacheExe = $c_apacheBinDir.'/'.$wampConf['apacheExeFile'];
$c_apacheVarNotChange = array('APACHE24', 'VERSION_APACHE', 'INSTALL_DIR', 'APACHE_DIR', 'SRVROOT');
//Variables for PHP
$c_phpVersion = $wampConf['phpVersion'];
$c_phpCliVersion = $wampConf['phpWampVersion'];
$c_phpVersionDir = $c_installDir.'/bin/php';
$c_phpConfFile = $c_apacheVersionDir.'/apache'.$wampConf['apacheVersion'].'/'.$wampConf['apacheExeDir'].'/'.$wampConf['phpConfFile'];
$c_phpConfFileIni = $c_phpVersionDir.'/php'.$c_phpVersion.'/'.$wampConf['phpConfFile'];
$c_phpCliConfFile = $c_phpVersionDir.'/php'.$c_phpCliVersion.'/'.$wampConf['phpConfFile'];
$c_phpExe = $c_phpVersionDir.'/php'.$c_phpCliVersion.'/'.$wampConf['phpExeFile'];
$c_phpWebExe = $c_phpVersionDir.'/php'.$c_phpVersion.'/'.$wampConf['phpExeFile'];
$c_phpCli = $c_phpVersionDir.'/php'.$c_phpCliVersion.'/'.$wampConf['phpCliFile'];
$c_phBinDir = $c_phpVersionDir.'/php'.$wampConf['phpVersion'].'/';
$c_phpExtDir = $c_phpVersionDir.'/php'.$wampConf['phpVersion'].'/ext/';
$phpCliMinVersion = "5.6.40";
//Variables for MySQL
$c_mysqlService = $wampConf['ServiceMysql'];
$c_mysqlPortUsed = $wampConf['mysqlPortUsed'];
$c_mysqlVersion = $wampConf['mysqlVersion'];
$c_mysqlServiceInstallParams = $wampConf['mysqlServiceInstallParams'];
$c_mysqlServiceRemoveParams = $wampConf['mysqlServiceRemoveParams'];
$c_mysqlVersionDir = $c_installDir.'/bin/mysql';
$c_mysqlBinDir = $c_mysqlVersionDir.'/mysql'.$wampConf['mysqlVersion'].'/'.$wampConf['mysqlExeDir'];
$c_mysqlExe = $c_mysqlBinDir.'/'.$wampConf['mysqlExeFile'];
$c_mysqlConfFile = $c_mysqlVersionDir.'/mysql'.$wampConf['mysqlVersion'].'/'.$wampConf['mysqlConfDir'].'/'.$wampConf['mysqlConfFile'];
$c_mysqlConsole = $c_mysqlVersionDir.'/mysql'.$c_mysqlVersion.'/'.$wampConf['mysqlExeDir'].'/mysql.exe';
$c_mysqlExeAnti = str_replace('/','\\',$c_mysqlExe);
$c_mysqlConfFileAnti = str_replace('/','\\',$c_mysqlConfFile);
// Variables for MariaDB
$c_mariadbService = $wampConf['ServiceMariadb'];
$c_mariadbPortUsed = $wampConf['mariaPortUsed'];
$c_mariadbVersion = $wampConf['mariadbVersion'];
$c_mariadbServiceInstallParams = $wampConf['mariadbServiceInstallParams'];
$c_mariadbServiceRemoveParams = $wampConf['mariadbServiceRemoveParams'];
$c_mariadbVersionDir = $c_installDir.'/bin/mariadb';
$c_mariadbBinDir = $c_mariadbVersionDir.'/mariadb'.$wampConf['mariadbVersion'].'/'.$wampConf['mariadbExeDir'];
$c_mariadbExe = $c_mariadbBinDir.'/'.$wampConf['mariadbExeFile'];
$c_mariadbConfFile = $c_mariadbVersionDir.'/mariadb'.$wampConf['mariadbVersion'].'/'.$wampConf['mariadbConfDir'].'/'.$wampConf['mariadbConfFile'];
$c_mariadbConsole = $c_mariadbVersionDir.'/mariadb'.$c_mariadbVersion.'/'.$wampConf['mariadbExeDir'].'/mysql.exe';
$c_mariadbExeAnti = str_replace('/','\\',$c_mariadbExe);
$c_mariadbConfFileAnti = str_replace('/','\\',$c_mariadbConfFile);
//Check symlink or copy PHP dll into Apache bin folder
if(empty($wampConf['CreateSymlink']) || ($wampConf['CreateSymlink'] != 'symlink' && $wampConf['CreateSymlink'] != 'copy'))
$wampConf['CreateSymlink'] = 'symlink';
//Check hosts file writable
$c_hostsFile = str_replace("\\","/",getenv('WINDIR').'/system32/drivers/etc/hosts');
$c_hostsFile_writable = true;
$WarningMsg = '';
if(file_exists($c_hostsFile)) {
if(!is_file($c_hostsFile)) {
$WarningMsg .= $c_hostsFile." is not a file\r\n";
}
elseif(!is_writable($c_hostsFile)) {
if(@chmod($c_hostsFile, 0644) === false) {
$WarningMsg .= "Impossible to modify the file ".$c_hostsFile." to be writable\r\n";
}
if(!is_writable($c_hostsFile)) {
$WarningMsg .= "The file ".$c_hostsFile." is not writable";
}
}
}
else {
$WarningMsg .= "The file ".$c_hostsFile." does not exists\r\n";
}
if(!empty($WarningMsg)) {
$c_hostsFile_writable = false;
error_log($WarningMsg);
if(WAMPTRACE_PROCESS) error_log("script ".__FILE__."\n*** ".$WarningMsg."\n",3,WAMPTRACE_FILE);
}
//Check last number of wampsave hosts
$next_hosts_save = 0;
if($wampConf['BackupHosts'] == 'on') {
$hosts_wampsave = @glob($c_hostsFile.'_wampsave.*');
if(count($hosts_wampsave) > 0) {
$next_hosts_save = pathinfo(end($hosts_wampsave),PATHINFO_EXTENSION) + 1;
}
}
//End check hosts writable
//dll to create symbolic links from php to apache/bin
//Versions of ICU are 38, 40, 42, 44, 46, 48 to 57, 60 (PHP 7.2), 61 (PHP 7.2.5)
// 62 (PHP 7.2.8), 63 (PHP 7.2.12), 64 (PHP 7.2.20), 65 (PHP 7.4.0), 66 (PHP 7.4.6)
// 67, 68 (PHP 8.0.0), 70 (PHP 8.1.0), 71 (PHP 8.2.0)
$icu = array(
'number' => array('71', '70', '68', '67', '66', '65','64', '63', '62', '61', '60', '57', '56', '55', '54', '53', '52', '51', '50', '49', '48', '46', '44', '42', '40', '38'),
'name' => array('icudt', 'icuin', 'icuio', 'icule', 'iculx', 'icutest', 'icutu', 'icuuc'),
);
$php_icu_dll = array();
foreach($icu['number'] as $icu_number) {
foreach($icu['name'] as $icu_name) {
$php_icu_dll[] = $icu_name.$icu_number.".dll";
}
}
$phpDllToCopy = array_merge(
$php_icu_dll,
array (
'libmysql.dll',
'libeay32.dll',
'ssleay32.dll',
'libsasl.dll',
'libpq.dll',
'libssh2.dll', //For php 5.5.17
'libsodium.dll', //For php 7.2.0
'libsqlite3.dll', //For php 7.4.0
'php5isapi.dll',
'php5nsapi.dll',
'php5ts.dll',
'php7ts.dll', //For PHP 7
'php8ts.dll', //For PHP 8
)
);
//SSL 3 for PHP 8.2.0 extensions curl, ldap, openssl, snmp
$php820_DllToCopy = array(
'libcrypto-3-x64.dll',
'libssl-3-x64.dll',
'libcrypto-3.dll',
'libssl-3.dll',
);
//SSL 1 for PHP < 8.2.0
$phpN820_DllToCopy = array(
'libcrypto-1_1-x64.dll',
'libssl-1_1-x64.dll',
'libcrypto-1_1.dll',
'libssl-1_1.dll',
);
//Values must be the same as in php.ini - xdebug parameters must be the latest
$phpParams = array (
'allow_url_fopen',
'allow_url_include',
'auto_append_file',
'auto_detect_line_endings',
'auto_globals_jit',
'auto_prepend_file',
'date.timezone',
'default_charset',
'default_mimetype',
'disable_classes',
'disable_functions',
'display_errors',
'display_startup_errors',
'enable_dl',
'expose_php',
'file_uploads',
'filter.default',
'ignore_repeated_errors',
'ignore_repeated_source',
'implicit_flush',
'include_path',
'intl.default_locale',
'log_errors',
'max_execution_time',
'max_input_time',
'max_input_vars',
'memory_limit',
'mysqli.allow_local_infile',
'opcache.enable',
'opcache.jit',
'output_buffering',
'post_max_size',
'realpath_cache_size',
'realpath_cache_ttl',
'register_argc_argv',
'report_memleaks',
'request_order',
'session.save_path',
'short_open_tag',
'track_errors',
'upload_max_filesize',
'upload_tmp_dir',
'variables_order',
'zend.enable_gc',
'zlib.output_compression',
'zlib.output_compression_level',
'error_reporting',
'xdebug.mode',
'xdebug.remote_enable',
'xdebug.profiler_enable',
'xdebug.profiler_enable_trigger',
'xdebug.show_local_vars',
'xdebug.log_level',
);
//PHP parameters with values not On or Off cannot be switched on or off
//Can be changed if 'change' = true and 'title' & 'values' not empty
//Parameter name must be also into $phpParams array
//To manualy enter value, 'Choose' must be the last 'values' and 'title' must be 'Size' or 'Seconds' or 'Integer'
//Warning : specific treatment for date.timezone - Don't modify.
$phpParamsNotOnOff = array(
'date.timezone' => array(
'change' => true,
'title' => 'Timezone',
'quoted' => true,
'values' => array('Africa', 'America', 'Antarctica', 'Arctic', 'Asia', 'Atlantic', 'Australia', 'Europe', 'Indian', 'Pacific'),
),
'memory_limit' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('16M', '32M', '64M', '128M', '256M', '512M', '1G', 'Choose'),
),
'max_execution_time' => array(
'change' => true,
'title' => 'Seconds',
'quoted' => false,
'values' => array('20', '30', '60', '120', '180', '240', '300', 'Choose'),
),
'max_input_time' => array(
'change' => true,
'title' => 'Seconds',
'quoted' => false,
'values' => array('20', '30', '60', '120', '180', '240', '300', 'Choose'),
),
'max_input_vars' => array(
'change' => true,
'title' => 'Integer',
'quoted' => false,
'values' => array('1000', '2000', '2500', '5000', '10000', 'Choose'),
'min' => '1000',
'max' => '20000',
'default' => '2500',
),
'post_max_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('2M', '4M', '8M', '16M','32M', '64M', '128M', '256M', 'Choose'),
),
'realpath_cache_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('4M', '8M', '16M', '32M', '64M'),
),
'upload_max_filesize' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('2M', '4M', '8M', '16M','32M', '64M', '128M', '256M', 'Choose'),
),
'default_charset' => array('change' => false),
'disable_classes' => array('change' => false) ,
'disable_functions' => array('change' => false),
'output_buffering' => array('change' => false),
'session.save_path' => array('change' => false),
'variables_order' => array('change' => false),
'request_order' => array('change' => false),
'default_mimetype' => array('change' => false),
'auto_prepend_file' => array('change' => false),
'auto_append_file' => array('change' => false),
'upload_tmp_dir' => array('change' => false),
'error_reporting' => array('change' => false),
'opcache.jit' => array('change' => false),
'zend.enable_gc' => array('change' => false),
'zlib.output_compression_level' => array('change' => false),
'xdebug.mode' => array(
'change' => true,
'title' => 'xDebug Mode',
'quoted' => false,
'values' => array('off', 'develop', 'coverage', 'debug', 'gcstats', 'profile', 'trace'),
),
'xdebug.overload_var_dump' => array('change' => false),
'xdebug.log_level' => array(
'change' => true,
'title' => 'xDebug log level',
'quoted' => false,
'values' => array('0','1','3','5','7','10'),
'infos' => array('Criticals','Connection','Warnings','Communication','Information','Debug Breakpoint'),
),
);
//PHP parameters that doesn't support Apache Graceful Restart but only Apache Service Restart
$phpParamsApacheRestart = array(
'xdebug.mode',
'xdebug.remote_enable',
'xdebug.profiler_enable',
'xdebug.profiler_enable_trigger',
'xdebug.show_local_vars',
'xdebug.log_level',
);
//PHP parameters Deprecated, Suppressed or New since version
//Load $phpParamDepSupNew array
include 'phpParamDSN.php';
// Extensions can not be loaded by extension =
// for example zend_extension
$phpNotLoadExt = array(
'php_opcache',
'php_xdebug',
);
$zend_extensions = array(
'php_opcache' => array('loaded' => '0','content' => '', 'version' => ''),
'php_xdebug' => array('loaded' => '0','content' =>'', 'version' => ''),
);
//MySQL parameters
// All parameters must be defined with underscores (_) and not dashes (-)
$mysqlParams = array (
'basedir',
'datadir',
'key_buffer_size',
'lc_messages',
'log_error_verbosity',
'max_allowed_packet',
'default_storage_engine',
'innodb_lock_wait_timeout',
'innodb_buffer_pool_size',
'innodb_log_file_size',
'innodb_default_row_format',
'innodb_strict_mode',
'myisam_sort_buffer_size',
'query_cache_size',
'sql_mode',
'sort_buffer_size',
'prompt',
'skip_grant_tables',
'table_definition_cache',
'default_authentication_plugin',
'local_infile',
'secure_file_priv',
);
//MySQL parameters with values not On or Off cannot be switched on or off
//Can be changed if 'change' = true && 'title' && 'values'
//Parameter name must be also into $mysqlParams array
//To manualy enter value, 'Choose' must be the last 'values' and 'title' must be 'Size' or 'Seconds' or 'Number'
$mysqlParamsNotOnOff = array(
'basedir' => array(
'change' => false,
'msg' => "\nThis setting should not be changed, otherwise you risk losing your existing databases.\n",
),
'datadir' => array(
'change' => false,
'msg' => "\nThis setting should not be changed, otherwise you risk losing your existing databases.\n",
),
'key_buffer_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('16M', '32M', '64M', 'Choose'),
),
'lc_messages' => array(
'change' => false,
'msg' => "\nTo set the Error Message Language see:\n\nhttp://dev.mysql.com/doc/refman/5.7/en/error-message-language.html\n",
),
'log_error_verbosity' => array(
'change' => true,
'title' => 'Number',
'quoted' => false,
'values' => array('1', '2', '3'),
'text' => array('1' => 'Errors only', '2' => 'Errors and warnings', '3' => 'Errors, warnings, and notes'),
),
'max_allowed_packet' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('16M', '32M', '64M', 'Choose'),
),
'default_storage_engine' => array(
'change' => true,
'title' => 'Text',
'quoted' => false,
'values' => array('MYISAM','InnoDB'),
),
'innodb_lock_wait_timeout' => array(
'change' => true,
'title' => 'Seconds',
'quoted' => false,
'values' => array('20', '30', '50', '120', 'Choose'),
),
'innodb_buffer_pool_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('16M', '32M', '64M', '128M', '256M', 'Choose'),
),
'innodb_log_file_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('4M', '8M', '16M', '32M', '64M', 'Choose'),
),
'innodb_default_row_format' => array(
'change' => true,
'title' => 'Text',
'quoted' => false,
'values' => array('dynamic','compact','redundant'),
),
'myisam_sort_buffer_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('16M', '32M', '64M', 'Choose'),
),
'query_cache_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('4M', '8M', '16M', 'Choose'),
),
'sql_mode' => array(
'change' => true,
'title' => 'Special',
'quoted' => true,
),
'sort_buffer_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('2M', '4M', '16M', 'Choose'),
),
'prompt' => array(
'change' => false,
'msg' => "\nTo set the console prompt see:\n\nhttps://dev.mysql.com/doc/refman/5.7/en/mysql-commands.html\n",
),
'table_definition_cache' => array(
'change' => false,
'msg' => "\nTo set the table_definition_cache see:\n\nhttps://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_table_definition_cache\n",
),
'skip_grant_tables' => array(
'change' => false,
'msg' => "\n\nWARNING!! WARNING!!\nMySQL my.ini file directive 'skip_grant tables' is uncommented\nThis option causes the server to start without using the privilege system at all,\nWHICH GIVES ANYONE WITH ACCESS TO THE SERVER UNRESTRICTED ACCESS TO ALL DATABASES.\nThis option also causes the server to suppress during its startup sequence the loading of:\nuser-defined functions (UDFs), scheduled events, and plugins that were installed.\n\nYou should leave this option 'uncommented' ONLY for the time required\nto perform certain operations such as the replacement of a lost password for 'root'.\n",
),
'default_authentication_plugin' => array('change' => false,),
'local_infile' => array('change' => false,
'msg' => "\nlocal_infile: If set to 1, LOCAL is supported for LOAD DATA INFILE statements.\nIf set to 0, usually for security reasons, attempts to perform a LOAD DATA LOCAL will fail with an error message."),
'secure_file_priv' => array('change' => false,
'msg' => "\nsecure_file_priv: LOAD DATA, SELECT ... INTO and LOAD FILE() will only work with files in the specified path.\nIf not set, the default, or set to empty string, the statements will work with any files that can be accessed."),
);
//MariaDB parameters
// All parameters must be defined with underscores (_) and not dashes (-)
$mariadbParams = array (
'basedir',
'datadir',
'key_buffer_size',
'lc_messages',
'log_warnings',
'max_allowed_packet',
'default_storage_engine',
'innodb_lock_wait_timeout',
'innodb_buffer_pool_size',
'innodb_default_row_format',
'innodb_log_file_size',
'innodb_strict_mode',
'myisam_sort_buffer_size',
'query_cache_size',
'sql_mode',
'sort_buffer_size',
'prompt',
'skip_grant_tables',
'secure_file_priv',
);
//MariaDB parameters with values not On or Off cannot be switched on or off
//Can be changed if 'change' = true && 'title' && 'values'
//Parameter name must be also into $mariadbParams array
//To manualy enter value, 'Choose' must be the last 'values' and 'title' must be 'Size' or 'Seconds' or 'Number'
$mariadbParamsNotOnOff = array(
'basedir' => array(
'change' => false,
'msg' => "\nThis setting should not be changed, otherwise you risk losing your existing databases.\n",
),
'datadir' => array(
'change' => false,
'msg' => "\nThis setting should not be changed, otherwise you risk losing your existing databases.\n",
),
'key_buffer_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('16M', '32M', '64M', '128M', '256M', 'Choose'),
),
'lc_messages' => array(
'change' => false,
'msg' => "\nTo set the Error Message Language see:\n\nhttps://mariadb.com/kb/en/mariadb/server-system-variables/#lc_messages\n",
),
'log_warnings' => array(
'change' => false,
'msg' => "\nTo set the log_warning directive see:\nhttps://mariadb.com/kb/en/server-system-variables/#log_warnings\n",
),
'prompt' => array(
'change' => false,
'msg' => "\nTo set the console prompt see:\n\nhttps://dev.mysql.com/doc/refman/5.7/en/mysql-commands.html\n",
),
'max_allowed_packet' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('16M', '32M', '64M', 'Choose'),
),
'default_storage_engine' => array(
'change' => true,
'title' => 'Text',
'quoted' => false,
'values' => array('MYISAM','InnoDB'),
),
'innodb_lock_wait_timeout' => array(
'change' => true,
'title' => 'Seconds',
'quoted' => false,
'values' => array('20', '30', '50', '120', 'Choose'),
),
'innodb_buffer_pool_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('16M', '32M', '64M', '128M', '256M', 'Choose'),
),
'innodb_log_file_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('4M', '8M', '16M', '32M', '64M', 'Choose'),
),
'innodb_default_row_format' => array(
'change' => true,
'title' => 'Text',
'quoted' => false,
'values' => array('dynamic','compact'),
),
'key_buffer_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('16M', '32M', '64M', '128M', '256M', 'Choose'),
),
'myisam_sort_buffer_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('16M', '32M', '64M', 'Choose'),
),
'query_cache_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('4M', '8M', '16M', 'Choose'),
),
'sql_mode' => array(
'change' => true,
'title' => 'Special',
'quoted' => 'true',
),
'sort_buffer_size' => array(
'change' => true,
'title' => 'Size',
'quoted' => false,
'values' => array('2M', '4M', '16M', 'Choose'),
),
'skip_grant_tables' => array(
'change' => false,
'msg' => "\n\nWARNING!! WARNING!!\nmariaDB my.ini file directive 'skip_grant_tables' is uncommented\nThis option causes the server to start without using the privilege system at all,\nWHICH GIVES ANYONE WITH ACCESS TO THE SERVER UNRESTRICTED ACCESS TO ALL DATABASES.\nThis option also causes the server to suppress during its startup sequence the loading of:\nuser-defined functions (UDFs), scheduled events, and plugins that were installed.\n\nYou should leave this option 'uncommented' ONLY for the time required\nto perform certain operations such as the replacement of a lost password for 'root'.\n"),
'secure_file_priv' => array(
'change' => false,
'msg' => "\nsecure_file_priv: LOAD DATA, SELECT ... INTO and LOAD FILE() will only work with files in the specified path.\nIf not set, the default, or set to empty string, the statements will work with any files that can be accessed."),
);
// Adding parameters to WampServer modifiable
// by "Settings" sub-menu on right-click Wampmanager icon
// Needs $w_settings['parameter'] in wamp\lang\modules\settings_english.php
// # At the beginning = Separator only
// ## = Separator + SubMenu
// #- = Separator no Caption + Submenu
// ### = Last item in SubMenu
$wamp_Param = array(
'VirtualHostSubMenu',
'AliasSubmenu',
'ShowphmyadMenu',
'ShowadminerMenu',
'ShowWWWdirMenu',
'SupportMySQL',
'SupportMariaDB',
'HomepageAtStartup',
'BackupHosts',
'ScrollListsHomePage',
'##WampserverBrowser',
'###BrowserChange',
'##CheckVirtualHost',
'NotCheckVirtualHost',
'NotCheckDuplicate',
'###VhostAllLocalIp',
'##ApacheWampParams', //do not modify - submenu ApacheWampParams is used in Apache configuration
'apacheRestoreFiles',
'apacheCompareVersion',
'###apacheGracefulRestart',
'##Cleaning',
'AutoCleanLogs',
'AutoCleanLogsMax',
'AutoCleanLogsMin',
'AutoCleanTmp',
'###AutoCleanTmpMax',
'#-DaredevilOptions',
'NotVerifyPATH',
'NotVerifyTLD',
'NotVerifyHosts',
'LinksOnProjectsHomePage',
'###LinksOnProjectsHomeByIp',
);
//Wampserver parameters with values not On or Off cannot be switched on or off
//or can be switched on or of but with dependance from another parameter
//Can be changed if 'change' = true && 'title' && 'values'
//Parameter name must be also into $wamp_Param array
//dependance is the name of Wampserver parameter that must be 'on' to see the parameter
//To manualy enter value, 'Choose' must be the last 'values' and 'title' must be 'Size' or 'Seconds' or 'Integer'
$wampParamsNotOnOff = array(
'AutoCleanLogsMax' => array(
'change' => true,
'dependance' => 'AutoCleanLogs',
'title' => 'Integer',
'quoted' => true,
'values' => array('1000', '2000', '5000', '10000'),
'min' => '1000',
'max' => '10000',
'default' => '1000',
),
'AutoCleanLogsMin' => array(
'change' => true,
'dependance' => 'AutoCleanLogs',
'title' => 'Integer',
'quoted' => true,
'values' => array('1', '10', '20', '50', '100'),
'min' => '1',
'max' => '100',
'default' => '50',
),
'AutoCleanTmpMax' => array(
'change' => true,
'dependance' => 'AutoCleanTmp',
'title' => 'Integer',
'quoted' => true,
'values' => array('1000', '2000', '5000', '10000'),
'min' => '1000',
'max' => '10000',
'default' => '1000',
),
'LinksOnProjectsHomeByIp' => array(
'change' => true,
'dependance' => 'LinksOnProjectsHomePage',
'title' => 'OnOff',
),
'WampserverBrowser' => array(
'change' => false,
),
'BrowserChange' => array(
'change' => true,
'title' => 'Special',
'quoted' => true,
),
);
//Parameter servitude must be off if first parameter is off
$WampParamServitude = array(
'LinksOnProjectsHomePage' => array(
'servitude' => 'LinksOnProjectsHomeByIp',
)
);
//Wampserver parameters be switched by php.exe and not php-win.exe
$wamp_ParamPhpExe = array(
'SupportMariaDB',
'SupportMySQL',
);
// Apache modules which should not be disabled
$apacheModNotDisable = array(
'authz_core_module',
'authz_host_module',
'php5_module',
'php7_module',
'php_module',
);
// Apache settings
$apacheParams = array(
'AcceptFilter' => 'http none|https none',
'EnableMMAP' => 'On|Off',
'EnableSendFile' => 'On|Off',
'HostnameLookups' => 'On|Off|Double',
'LogLevel' => 'Debug|Info|Notice|Warn|Error|Crit|Alert|Emerg|trace[1-8]?',
'ServerSignature' => 'On|Off|Email',
'ServerTokens' => 'Major|Minor|Minimal|Min|ProductOnly|Prod|OS|Full',
'ThreadStackSize' => '[0-9]+',
'ThreadPerChild' => '[0-9]+',
'ThreadLimit' => '[0-9]+',
);
$apacheParamsDefault = array(
'ThreadPerChild' => 64,
'ThreadLimit' => 1920,
);
/* BigMenu -> Aestan Tray Menu column menus since 3.2.2.6
Meaning of the items in the order:
1 = Name of menu (Caption), 2 = number of items by column, 3 =separator 0 or 1
Items 1 & 2 may be a variable name into single quote (not array) */
$AesBigMenu = array(
array('$w_apacheModules','$NBmodApacheLines',1),
array('Africa',18,1),
array('America',37,1),
array('Asia',21,1),
array('Europe',21,1),
array('Pacific',21,1),
array('$w_phpSettings','$NBparamPHPlines',1),
array('$w_phpExtensions','$NBextPHPlines',1),
);
/* TextMenus -> Aestan Tray Menu text menu items since 3.2.2.9
Font size, color since 3.2.3.0
Meaning of the items in the order:
Indice 0 : Submenu Name -+- Indice 1 Caption submenu
Indice 2 : Type 0=info 1=custom 2=Warning 3=Confirm 4=Error
Indice 3 : Font size -+- Indice 4 : Font color RGB delphi mode (Example $D77800)
Indice 5 : Background color -+- Indice 6 : Title
Indice 7 : Text = only one line (Write \r\n for line feed)
End-of-line and comma conversions (#13 for line feed ; , for comma)
are done by the php script refresh.php
Indice 8 : number of characters per line max (wordwrap) 0 = no limit
Indice 9 : indice of Glyph - -1 for none
----------
All indices except Type, Font size, Font color, Background color and WordWrap
may be variable names into single quotes (not array) like '$w_mysql_mode'
Indice 7 may be the concatenation of the contents of several variables
in which case it must be an array of variable names into single quotes */
$AesTextMenus = array(
// Add Apache, PHP, MySQL, MariaDB, etc. versions.
array('AddingVersions','$w_addingVer',0,10,'$000000','$EEEEEE','$w_addingVer','$w_addingVerTxt',96,22),
array('mysql_mode','$w_mysql_mode',0,10,'$000000','$EEEEEE','$w_mysql_mode','$w_MySQLsqlmodeInfo',96,22),
array('phpmyadmin-help','$w_phpMyAdminHelp',0,10,'$000000','$EEEEEE','$w_phpMyAdminHelp',array('$w_PhpMyAdMinHelpTxt','$w_PhpMyAdminBigFileTxt'),112,22),
array('apacherestore-help','$w_apache_restore',2,10,'$000000','$EEEEEE','$w_apache_restore','$w_ApacheRestoreInfo',96,23),
array('apachecompare-help','$w_apache_compare',2,10,'$000000','$EEEEEE','$w_apache_compare','$w_ApacheCompareInfo',96,23),
array('refresh-restart-help','$w_Refresh_Restart',0,10,'$000000','$EEEEEE','$w_Refresh_Restart','$w_Refresh_Restart_Info',96,22),
);
/* TextMenuColor -> Aestan Tray Menu since 3.2.4.6
Meaning of the items in the order:
Indice 0 : Caption text to find, case sensitive.
Indice 1 : Background color gradient start
Indice 2 : Background color gradient end
Indice 3 : Text color
Indice 4 : Text style. 0 none ; 1 bold ; 2 italic ; 3 bold italic
Example : TextKeyColor0=[FCGI,$EEEEEE,$EEEEEF,$FF0000,2
Indice 0 may be variable name (not array) into single quotes like '$w_restartDNS'
may be array index without simple quotes in index like
'$w_settings[DaredevilOptions]' or '$myarray[56]' */
$AesTextMenuColor = array(
array('[FCGI-','$F8F8F8','$F8F8F7','$FF0000',2),
array('[IDNA-','$F8F8F8','$F8F8F7','$FF0000',2),
array('[HTTPS]','$F8F8F8','$F8F8F7','$FF0000',2),
array('[FCGI ->','$F8F8F8','$F8F8F7','$FF0000',0),
array('[FCGI - CLI]','$F8F8F8','$F8F8F7','$FF0000',0),
array('$w_settings[DaredevilOptions]','$FFFFFF','$FFFFFE','$0000FF',0),
array('$w_apache_restore','$FFFFFF','$EEEEEE','$FF0000',2),
array('$w_apache_compare','$FFFFFF','$EEEEEE','$FF0000',2),
array('$w_startedOn','$F2A626','$C57F0B','$FFFFFF',0),
array('$w_ApacheCompiledIn','$EEEEEE','$EEEEEF','$FF0000',0),
array('$w_mod_not_disable','$F8F8F8','$F8F8F7','$FF0000',0),
array('$w_ApacheDoesNotIf','$F8F8F8','$F8F8F7','$FF0000',0),
);
/* SeparatorMenuColor -> Aestan Tray Menu since 3.2.4.7
Different for Left and Right menu
Meaning of the itmes in the order:
Indice 0 : Caption text to find, case sensitive.
Indice 1 : Background color gradient start
Indice 2 : Background color gradient end
Indice 3 : Text color
Indice 4 : Text style. 0 none ; 1 bold ; 2 italic ; 3 bold italic
Indice 5 : Font name
Indice 6 : Font size
Example : LeftSeparatorKeyColor0=Text to show,$EEEEEE,$EEEEED,$FF0000,2,Tahoma,10
RightSeparatorKeyColor0=Text to show,$EEEEEE,$EEEEED,$FF0000,2,Tahoma,10
Indice 0 may be variable name (not array) into single quotes like '$w_restartDNS'
may be array index without simple quotes in index like
'$w_settings[DaredevilOptions]' or '$myarray[56]' */
$AesSeparatorLeftMenuColor = array(
array('Wampserver -','$F2A626','$C57F0B','$FFFFFF',0,'Arial',11),
array('$w_noDBMS','$F1F1F1','$F1F1F0','$000000',2,'Arial',10),
array('$w_NoDefaultDBMS','$BBBBFF','$BBBBFE','$000000',0,'Arial',10),
array('$w_warning','$BBBBFF','$BBBBFE','$000000',0,'Arial',10),
);
$AesSeparatorRightMenuColor = array(
array('Wampserver -','$F2A626','$C57F0B','$FFFFFF',0,'Arial',11),
);
/* PromptCustom -> Aestan Tray Menu Variable type prompt since 3.2.3.0
Section [PromptCustom] Name PromptKeyx=
Indices = 0 : Prompt Name, 1 : Font Size, 2 : Background Color
3 : Font Color, 4 : Value BackGround Color, 5 : Value Text Color
Example : PromptKey1=Prompt1,12,$D77800,$FCFDFE,$FFFFFF,$0000FF
PromptKey0 are default values for all Prompt
PromptKey0=Default,12,$EEEEEE,$000000
Indice 0 may be variable name (not array) into single quotes like '$w_restartDNS' */
$AesPromptCustom = array(
array('Default',10,'$EEEEEE','$000000','$FFFFFF','$0000FF'),
array('MariaUser',10,'$FFFFF0','$890000','$FFFFFF','$0000FF'),
array('MysqlUser',10,'$FFFFF0','$890000','$FFFFFF','$0000FF'),
);
?>