Call to undefined function curl_init()

Discussion in 'PHP' started by mf_88, Dec 21, 2009.

  1. #1
    Whenever i tried to use this code i get "Fatal error: Call to undefined function curl_init() in D:\xampp\htdocs\test\DomainCheck.php on line 10" this error.

    This time i'm using simple example from http://www.php.net/manual/en/book.curl.php but again get same error. Can you help about this error why i'm getting it.
     
    mf_88, Dec 21, 2009 IP
  2. aquilax

    aquilax Member

    Messages:
    126
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #2
    aquilax, Dec 21, 2009 IP
  3. website-design

    website-design Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you are using xampp. check for the version you have, update with latest version. curl extension should be there and enabled
     
    website-design, Dec 21, 2009 IP
  4. vengs

    vengs Greenhorn

    Messages:
    77
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    yes that is disabled curl extension error message.
    Just find
    ;extension=php_curl.dll
    and remove ; to activate in php.ini
     
    vengs, Dec 21, 2009 IP