Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

cURL error

Philippe Ribeiro   ( User )

Commented 6 years ago

I'm using the USB WebServer with PHP 7.1.11, but returns this error:


cURL extension needs to be loaded!


In my folder php/ext/ exist the file php_curl.dll


 

Denis Dulici   ( Admin )

Commented 6 years ago

Philippe, make sure that cURL is enabled in your  php.ini file.

Philippe Ribeiro   ( User )

Commented 6 years ago

This is my php.ini file


 


 


 


; Windows Extensions


; Note that ODBC support is built in, so no dll is needed for it.


; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)


; extension folders as well as the separate PECL DLL download (PHP 5+).


; Be sure to appropriately set the extension_dir directive.


;


;extension=php_bz2.dll


extension=php_curl.dll


;extension=php_fileinfo.dll


;extension=php_ftp.dll


extension=php_gd2.dll


;extension=php_gettext.dll


;extension=php_gmp.dll


;extension=php_intl.dll


extension=php_imap.dll


;extension=php_interbase.dll


;extension=php_ldap.dll


extension=php_mbstring.dll


extension=php_exif.dll      ; Must be after mbstring as it depends on it


extension=php_mysqli.dll


;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client


extension=php_openssl.dll


;extension=php_pdo_firebird.dll


extension=php_pdo_mysql.dll


;extension=php_pdo_oci.dll


;extension=php_pdo_odbc.dll


extension=php_pdo_pgsql.dll


extension=php_pdo_sqlite.dll


;extension=php_pgsql.dll

Faisal   ( User )

Commented 5 years ago

i have the same error , when i check the php.ini it shows it has been enabled 


 


any other work around

Jaber Al Nahian   ( User )

Commented 3 years ago

I am getting same error:

cURL extension needs to be installed and loaded!
Error: Ask your hosting provider to use PHP 7.3.0 or higher for both HTTP and CLI.

I am using PHP 7.3 and cURL extension is enabled. Server is WampServer on localhost.

Jaber Al Nahian   ( User )

Commented 3 years ago

I solved. Guys follow these both pages:

https://stackoverflow.com/questions/2694787/how-can-i-set-curlopt-cainfo-globally-for-php

https://stackoverflow.com/questions/2694787/how-can-i-set-curlopt-cainfo-globally-for-php

Please login or register to leave a response.

Showing 1 to 6 of 6 discussions