Rev 1130 | Rev 1305 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1130 | Rev 1221 | ||
---|---|---|---|
Line 68... | Line 68... | ||
68 | // includes/ipv6_functions.inc.php |
68 | // includes/ipv6_functions.inc.php |
69 | // plugins/viathinksoft/adminPages/400_oidinfo_export/oidinfo_api.inc.php (if GMP is not available, BC will be used) |
69 | // plugins/viathinksoft/adminPages/400_oidinfo_export/oidinfo_api.inc.php (if GMP is not available, BC will be used) |
70 | // Note that vendor/danielmarschall/php_utils/gmp_supplement.inc.php will implement the GMP functions if BCMath is present. |
70 | // Note that vendor/danielmarschall/php_utils/gmp_supplement.inc.php will implement the GMP functions if BCMath is present. |
71 | // This is the reason why we use function_exists('gmp_init') instead of extension_loaded('gmp') |
71 | // This is the reason why we use function_exists('gmp_init') instead of extension_loaded('gmp') |
72 | if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { |
72 | if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { |
73 | $install_hint1 = sprintf('On Windows, install it by enabling the line %s in your PHP.ini', |
73 | $install_hint1 = sprintf('On Windows, install it by enabling the line %s in the configuration file %s', |
74 | 'extension=php_gmp.dll'); |
74 | 'extension=php_gmp.dll', php_ini_loaded_file() ? php_ini_loaded_file() : 'PHP.ini'); |
75 | $install_hint2 = 'On Windows, it should be installed by default'; |
75 | $install_hint2 = 'On Windows, it should be installed by default'; |
76 | } else { |
76 | } else { |
77 | $install_hint1 = sprintf('On Linux, install it by running e.g. %s, and then restart your webserver service, e.g. by running %s', |
77 | $install_hint1 = sprintf('On Linux, install it by running e.g. %s, and then restart your webserver service, e.g. by running %s', |
78 | '<code>sudo apt-get update && sudo apt-get install php-gmp</code>', |
78 | '<code>sudo apt-get update && sudo apt-get install php-gmp</code>', |
79 | '<code>sudo service apache2 restart</code>'); |
79 | '<code>sudo service apache2 restart</code>'); |
Line 93... | Line 93... | ||
93 | // vendor/n-other/php-sha3/src/Sha3.php |
93 | // vendor/n-other/php-sha3/src/Sha3.php |
94 | // includes/functions.inc.php (convert_to_utf8_no_bom) |
94 | // includes/functions.inc.php (convert_to_utf8_no_bom) |
95 | // Note that vendor/symfony/polyfill-mbstring/ will always implement the MBString functions, but they only work if iconv is present. |
95 | // Note that vendor/symfony/polyfill-mbstring/ will always implement the MBString functions, but they only work if iconv is present. |
96 | // This is the reason why we use extension_loaded('mbstring') instead of function_exists('mb_substr') |
96 | // This is the reason why we use extension_loaded('mbstring') instead of function_exists('mb_substr') |
97 | if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { |
97 | if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { |
98 | $install_hint1 = sprintf('On Windows, install it by enabling the line %s in your PHP.ini', |
98 | $install_hint1 = sprintf('On Windows, install it by enabling the line %s in the configuration file %s', |
99 | 'extension=php_mbstring.dll'); |
99 | 'extension=php_mbstring.dll', php_ini_loaded_file() ? php_ini_loaded_file() : 'PHP.ini'); |
100 | $install_hint2 = 'On Windows, it should be installed by default'; |
100 | $install_hint2 = 'On Windows, it should be installed by default'; |
101 | } else { |
101 | } else { |
102 | $install_hint1 = sprintf('On Linux, install it by running e.g. %s, and then restart your webserver service, e.g. by running %s', |
102 | $install_hint1 = sprintf('On Linux, install it by running e.g. %s, and then restart your webserver service, e.g. by running %s', |
103 | '<code>sudo apt-get update && sudo apt-get install php-mbstring</code>', |
103 | '<code>sudo apt-get update && sudo apt-get install php-mbstring</code>', |
104 | '<code>sudo service apache2 restart</code>'); |
104 | '<code>sudo service apache2 restart</code>'); |