Core upgrade utility class.
More...
|
static | can_use_tls12 (array $curlinfo, $uname) |
| Tests if the system is capable of using TLS 1.2 for requests.
|
|
static | validate_php_curl_tls (array $curlinfo, $zts) |
| Validates PHP/cURL extension for use with SSL/TLS.
|
|
◆ can_use_tls12()
static core\upgrade\util::can_use_tls12 |
( |
array | $curlinfo, |
|
|
| $uname ) |
|
static |
Tests if the system is capable of using TLS 1.2 for requests.
- Parameters
-
array | $curlinfo | array of cURL information as returned by curl_version() |
string | $uname | server uname |
- Return values
-
◆ validate_php_curl_tls()
static core\upgrade\util::validate_php_curl_tls |
( |
array | $curlinfo, |
|
|
| $zts ) |
|
static |
Validates PHP/cURL extension for use with SSL/TLS.
- Parameters
-
array | $curlinfo | array of cURL information as returned by curl_version() |
int | $zts | 0 or 1 as defined by PHP_ZTS |
- Return values
-
The documentation for this class was generated from the following file:
- lib/classes/upgrade/util.php