php curl [Answered]RSS

1 reply

Last post Jul 16, 2007 12:20 AM by Zhao Ji Ma - MSFT

  • php curl

    Jul 14, 2007 08:14 AM|.clicky|LINK

    dont know if this is right section of the forum (so mods move it if it is), but im having trouble setting up the curl extnsion for php. this is what iv done so far:

    edited php.ini like this

    extension_dir = "C:\php\ext\"
    extension = php_curl.dll
    include_path = ".;C:\php\PEAR"
    register_globals = On

    i copied libeay32.dll and ssleay32.dll to C:\Windows\System32

    im running iis7 on windows vista home premium

    do i need to conifgure iis to run/accept curl? because it works fine with normal php...

     when i try to use curl, i get the php parse error of call to undefined function curl_init(). also, curl does not appear in php_info()

     

    help please! :|
     

     

    Vista php ISAPI curl

  • Re: php curl

    Jul 16, 2007 12:20 AM|Zhao Ji Ma - MSFT|LINK

    Hi clicky,

    Please make sure php_curl.dll exists in the C:\php\ext folder. If you are using the PHP installer, this component seems not to be selected by the installer by default.

    If the dll exists, please check the dll permissions as well. Based on my understanding, it is OK to copy libeay32.dll and ssleay32.dll to C:\Windows\System32 or the PHP folder (C:\php\ in your case). Vista can load dll successfully in these locations.

    You can try resetting IIS 7.0 to verify if curl is loaded by PHP using phpinfo().

     

     

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support