How to compile PHP with cURL

Discussion in 'PHP' started by rasana, Aug 11, 2008.

  1. #1
    Hi All,

    How to compile PHP with cURL?
     
    rasana, Aug 11, 2008 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    You... can't?

    I'm not even sure if your question makes sense at all, but I'm guessing you want to install cURL on your server?!
     
    nico_swd, Aug 11, 2008 IP
  3. is0is0

    is0is0 Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you've got WAMP or XAMPP just go in your php.ini file and delete the ; from the beginning of the ;extension=php_curl line.

    The above solution will only work if your intentions are to install curl on your localhost server.
     
    is0is0, Aug 11, 2008 IP
  4. Jasber

    Jasber Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you're actually trying to compile PHP with cURL check out: http://us.php.net/manual/en/curl.installation.php

     
    Jasber, Aug 11, 2008 IP
  5. Nxiel

    Nxiel Peon

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I never knew php was a compiling language or maybe I have the wrong meaning. I thought complied programms were something that run independently with all the libraries complied into the programm.
     
    Nxiel, Aug 11, 2008 IP
  6. rasana

    rasana Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks guys for replying!!
    Jasber, where should I specify location of lib and include direcotry?
    what should I exactly do to run curl functions like curl_init() etc.
     
    rasana, Aug 11, 2008 IP
  7. rasana

    rasana Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hey!!! I got it solved..now curl functions are working!!!! only thing I did that I enabled php_curl.dll by removing ; from extension = php_crul.dll.
    Then I restarted apache.
     
    rasana, Aug 11, 2008 IP