Fabis94 Posted July 9, 2009 Share Posted July 9, 2009 In my php.ini curl is enabled: ; Local Variables: ; tab-width: 4 ; End: [php_BZ2] extension=php_bz2.dll [php_CURL] extension=php_curl.dll [php_GD2] extension=php_gd2.dll [php_GETTEXT] extension=php_gettext.dll [php_GMP] extension=php_gmp.dll [php_IMAP] extension=php_imap.dll [php_MBSTRING] extension=php_mbstring.dll [php_MYSQL] extension=php_mysql.dll [php_MYSQLI] extension=php_mysqli.dll [php_OPENSSL] extension=php_openssl.dll [php_PDO_MYSQL] extension=php_pdo_mysql.dll [php_PDO_ODBC] extension=php_pdo_odbc.dll [php_PDO_SQLITE] extension=php_pdo_sqlite.dll [php_PGSQL] extension=php_pgsql.dll [php_SOAP] extension=php_soap.dll [php_SOCKETS] extension=php_sockets.dll [php_SQLITE3] extension=php_sqlite3.dll [php_TIDY] extension=php_tidy.dll [php_XMLRPC] extension=php_xmlrpc.dll [php_EXIF] extension=php_exif.dll From phpinfo(): curl cURL support => enabled cURL Information => 7.19.4 Age => 3 Features AsynchDNS => No Debug => No GSS-Negotiate => No IDN => No IPv6 => Yes Largefile => Yes NTLM => Yes SPNEGO => No SSL => Yes SSPI => Yes krb4 => No libz => Yes CharConv => No Protocols => tftp, ftp, telnet, dict, ldap, http, file, https, ftps, scp, sftp Host => i386-pc-win32 SSL Version => OpenSSL/0.9.8k ZLib Version => 1.2.3 libSSH Version => libssh2/1.1 Curl is enabled, but when i run a script it says Call to undefined function curl_init() :/ Link to comment https://forums.phpfreaks.com/topic/165341-curl-enabled-but-still-doesnt-work/ Share on other sites More sharing options...
ignace Posted July 9, 2009 Share Posted July 9, 2009 Don't know if this is the cause but have you restarted Apache? Link to comment https://forums.phpfreaks.com/topic/165341-curl-enabled-but-still-doesnt-work/#findComment-871962 Share on other sites More sharing options...
PFMaBiSmAd Posted July 9, 2009 Share Posted July 9, 2009 What method (web server/CLI - Command Line Interface) are you using to get the phpinfo() output (looks like CLI) and what method are you using to execute your script? Link to comment https://forums.phpfreaks.com/topic/165341-curl-enabled-but-still-doesnt-work/#findComment-871964 Share on other sites More sharing options...
Fabis94 Posted July 9, 2009 Author Share Posted July 9, 2009 Run > Cmd > php.exe myscript.php Link to comment https://forums.phpfreaks.com/topic/165341-curl-enabled-but-still-doesnt-work/#findComment-871970 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.