mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
MDL-57163 installation: fixed "Call to undefined function curl_version"
This commit is contained in:
parent
3eabedbb92
commit
acefc7d963
@ -2356,6 +2356,12 @@ function check_tls_libraries(environment_results $result) {
|
||||
*/
|
||||
function check_libcurl_version(environment_results $result) {
|
||||
|
||||
if (!function_exists('curl_version')) {
|
||||
$result->setInfo('cURL PHP extension is not installed');
|
||||
$result->setStatus(false);
|
||||
return $result;
|
||||
}
|
||||
|
||||
// Supported version and version number.
|
||||
$supportedversion = 0x071304;
|
||||
$supportedversionstring = "7.19.4";
|
||||
|
Loading…
x
Reference in New Issue
Block a user