SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Wizard WorldNews's Avatar
    Join Date
    Nov 2007
    Posts
    1,027
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    What is cURL module of PHP and how do I enable it?

    Hello,

    Some background info:
    We do payment processing via Paypal/Verising.
    To do such payment processing with them our PHP program needs to establish
    a http connection with them which is apparently done by calling some cURL related functions such as curl_initi();

    What is cURL module of PHP?
    How do I add it to our PHP installation?
    FYI, i checked the php.ini of our PHP and it id not even mentioned there!

    Regards,

    Anoox search engine volunteer

    www.anoox.com

  2. #2
    SitePoint Member
    Join Date
    Aug 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just happen to be reading up on cURL also, but for Authorize.net. Here's the link:

    http://us2.php.net/curl

    Seems pretty straight forward.


    Scott

  3. #3
    SitePoint Wizard WorldNews's Avatar
    Join Date
    Nov 2007
    Posts
    1,027
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi Scott,

    Did you install cURL on your server?
    How difficult was it?

    Did you have to compile PHP after?

    Regards,

    Quote Originally Posted by ScottRadcliff View Post
    I just happen to be reading up on cURL also, but for Authorize.net. Here's the link:

    http://us2.php.net/curl

    Seems pretty straight forward.


    Scott

    Anoox search engine volunteer

    www.anoox.com

  4. #4
    SitePoint Member
    Join Date
    Aug 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm running WAMP on my testing server and it's enabled by default. Not sure what version of PHP your running, but I believe all you have to do it is uncomment it in your php.ini file. But I noticed that you said you could not find it in your php.ini. Maybe another quick look and you might find extension=php_curl.dll under your extensions and uncomment it.

    Check out this link: http://curl.haxx.se/libcurl/php/install.html#windows

  5. #5
    SitePoint Wizard WorldNews's Avatar
    Join Date
    Nov 2007
    Posts
    1,027
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hello Scott,

    Thanks for the info.
    But we are running a Linux server.
    And I find no mention of "curl" in php.ini of it at all.

    So where you able to finish the programming via curl easily/quickly
    to call the payment processor to process the payment?

    Regards,

    Quote Originally Posted by ScottRadcliff View Post
    I'm running WAMP on my testing server and it's enabled by default. Not sure what version of PHP your running, but I believe all you have to do it is uncomment it in your php.ini file. But I noticed that you said you could not find it in your php.ini. Maybe another quick look and you might find extension=php_curl.dll under your extensions and uncomment it.

    Check out this link: http://curl.haxx.se/libcurl/php/install.html#windows

    Anoox search engine volunteer

    www.anoox.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •