diff --git a/htdocs/install/check.php b/htdocs/install/check.php
index c2326d58486..e888c65cc28 100644
--- a/htdocs/install/check.php
+++ b/htdocs/install/check.php
@@ -123,7 +123,7 @@ else
// Check if GD supported
-if (! function_exists("imagecreate"))
+/*if (! function_exists("imagecreate"))
{
$langs->load("errors");
print '
'.$langs->trans("ErrorPHPDoesNotSupportGD")."
\n";
@@ -132,6 +132,19 @@ if (! function_exists("imagecreate"))
else
{
print '
'.$langs->trans("PHPSupportGD")."
\n";
+}*/
+
+
+// Check if Curl supported
+if (! function_exists("curl_init"))
+{
+ $langs->load("errors");
+ print '
'.$langs->trans("ErrorPHPDoesNotSupportCurl")."
\n";
+ // $checksok=0; // If image ko, just warning. So check must still be 1 (otherwise no way to install)
+}
+else
+{
+ print '
'.$langs->trans("PHPSupportCurl")."
\n";
}
diff --git a/htdocs/langs/en_US/install.lang b/htdocs/langs/en_US/install.lang
index 07ebb17e8fe..69711cb77cc 100644
--- a/htdocs/langs/en_US/install.lang
+++ b/htdocs/langs/en_US/install.lang
@@ -11,12 +11,14 @@ PHPSupportSessions=This PHP supports sessions.
PHPSupportPOSTGETOk=This PHP supports variables POST and GET.
PHPSupportPOSTGETKo=It's possible your PHP setup does not support variables POST and/or GET. Check your parameter variables_order in php.ini.
PHPSupportGD=This PHP support GD graphical functions.
+PHPSupportCurl=This PHP support Curl.
PHPSupportUTF8=This PHP support UTF8 functions.
PHPMemoryOK=Your PHP max session memory is set to %s. This should be enough.
PHPMemoryTooLow=Your PHP max session memory is set to %s bytes. This should be too low. Change your php.ini to set memory_limit parameter to at least %s bytes.
Recheck=Click here for a more significative test
ErrorPHPDoesNotSupportSessions=Your PHP installation does not support sessions. This feature is required to make Dolibarr working. Check your PHP setup.
ErrorPHPDoesNotSupportGD=Your PHP installation does not support graphical function GD. No graph will be available.
+ErrorPHPDoesNotSupportCurl=Your PHP installation does not support Curl.
ErrorPHPDoesNotSupportUTF8=Your PHP installation does not support UTF8 functions. Dolibarr can't work correctly. Solve this before installing Dolibarr.
ErrorDirDoesNotExists=Directory %s does not exist.
ErrorGoBackAndCorrectParameters=Go backward and correct wrong parameters.