SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2009
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    cURL issue for my wamp server

    hi there

    i am running WAMP

    Apache Version 2.2.11
    PHP Version 5.3.0
    MySQL Version 5.1.36

    i would like to install cURL on this server as i am getting errors like
    Code:
    Fatal error: Call to undefined function curl_init() in C:\wamp\www\itinwales\curlFile.php on line 16
    can someone please guide me thru the installation of curl? i have downloaded curl 7.1.95 win32 ssl sspi. inside that dir there is the curl.exe file. was this the right thing to do? what do i need to do in order to get curl to work?

    thanks in advance for any help given

    Danny

  2. #2
    Twitter: @AnthonySterling silver trophy AnthonySterling's Avatar
    Join Date
    Apr 2008
    Location
    North-East, UK.
    Posts
    6,111
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    If you're running WAMP, cURL is already supplied, you just need to 'turn on' the extension.

    Left click tray icon -> PHP -> PHP Extensions -> Left click php_curl

    @AnthonySterling: I'm a PHP developer, a consultant for oopnorth.com and the organiser of @phpne, a PHP User Group covering the North-East of England.

  3. #3
    SitePoint Enthusiast
    Join Date
    Nov 2009
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    cheers. figured it out just as a mail came thru. well actually i went into the php.ini file and took out the ;semi colon. all working now.

    cheers anyway

  4. #4
    Twitter: @AnthonySterling silver trophy AnthonySterling's Avatar
    Join Date
    Apr 2008
    Location
    North-East, UK.
    Posts
    6,111
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Ain't it always the way, glad you're sorted.
    @AnthonySterling: I'm a PHP developer, a consultant for oopnorth.com and the organiser of @phpne, a PHP User Group covering the North-East of England.


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
  •