Jump to content

[SOLVED] getting CURL to work


Recommended Posts

As long as the main .dll file is in your ext(ension) folder and any auxiliary .dll files are in your main php folder and your main php folder has been added to the Windows path statement, and the php.ini that you are changing is the one that php is using, and you have stopped and started your web server to get any changes made to php.ini to take effect, then the extension should be enabled.

Link to comment
Share on other sites

for windows, most people forget this step:

    Note: Note to Win32 Users

    In order to enable this module on a Windows environment, libeay32.dll and ssleay32.dll must be present in your PATH. You don't need libcurl.dll from the cURL site.

 

so the above, remove the ; from the front of the extension line in your php.ini like this:

extension=php_curl.dll

 

then restart apache...that should be it

Link to comment
Share on other sites

I have removed the ; from extension=php_curl.dll, but i dont know what this means

 

libeay32.dll and ssleay32.dll must be present in your PATH

 

should these files be in the php folder ? or written in the php.ini file ?

 

 

mick

 

ps, removing ";" didnt work, even after restarting computer

Link to comment
Share on other sites

Googling around, I found some stuff pertaining to this. According to some posts, there is some confusion on the php.ini file since there are a couple of them. Try editing each of these files and making sure that extension line is uncommented:

C:\Program Files\xampp\apache\bin\php.ini

C:\Program Files\xampp\php\php.ini

C:\Program Files\xampp\php\php4\php.ini

then restart apache

 

 

Resources:

http://chrismeller.com/using-curl-in-xampp

http://www.tildemark.com/programming/php/enable-curl-with-xampp-on-windows-xp.html

Link to comment
Share on other sites

I have googled around too and copied two files (libeay32.dll and ssleay32.dll ) to the windows system folder.

 

restarted computer and still doesnt work.

 

will try those files now.

did previously change php5.ini and php-pear.ini, but that didnt change anything

 

thanks for now :)

 

michael

Link to comment
Share on other sites

messing with those files listed above worked, i dont know which one because I did all at the same time before restarting apache.

 

thank you very much

 

Michael

 

ps i adjusted three other lines in the php.ini file in the xampp/php folder and theat worked fine for them. this is why I was wondering if there was something else I should do for curl

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.