XAMPP+Apache+PHP+CURL/binary install (English)

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP+Apache+PHP+CURL/binary install (English)

Postby JAB Creations » 10. August 2007 23:45

My live server has CURL but I'm trying to test locally with XAMPP and a script is saying I need CURL. I downloaded a binary for XP/32 Bit. Unfortunately it's a runtime binary, not an installer. There are NO install directions. The website has install directions for everything BUT binary (because you know that would so make right)?)

Anyway I figure it will probably be as easy as copying the files to right spot, maybe having to edit a PHP config file, and restarting Apache. Here is what was include that don't appear to just be readme files...

curl.exe
curl-ca-bundle.crt

Thats it, everything else looks like readme text files. Could someone please clarify? I've put in some key words so those looking for the same solution will hopefully find this thread in the future.
John A. Bilicki III
http://www.jabcreations.com/
JAB Creations
 
Posts: 16
Joined: 24. December 2004 08:51
Location: Sarasota Florida, USA

Postby Wiedmann » 10. August 2007 23:48

and a script is saying I need CURL.

Can you explain this more detailed?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby JAB Creations » 11. August 2007 00:05

Thanks for the quick reply...

I started reading about curl by doing a Google search specific to php.net, which led me to...
http://us3.php.net/curl

I ended up going through a wizard at...
http://curl.haxx.se/

I have a binary version of curl for PHP for Windows XP 32-bit platform. I have not modified XAMPP much (no modifications in regards to PHP itself). I'm running XAMPP (basic) version 1.5.5.

Any other information needed?
John A. Bilicki III
http://www.jabcreations.com/
JAB Creations
 
Posts: 16
Joined: 24. December 2004 08:51
Location: Sarasota Florida, USA

Postby outlaw » 11. August 2007 00:07

xampp already comes with the curl extension
you have to uncomment the curl extension in /xampp/apache/bin/php.ini
outlaw
 
Posts: 18
Joined: 08. June 2007 23:01

Postby Wiedmann » 11. August 2007 00:12

a Google search specific to php.net,

Thus you are talking about a PHP script?

- If this PHP script is using the culr extension, just enable this extension in the "php.ini". (verify the extension with phpinfo())

- If this script is using the curl binary via exec(), install the binary (see the documentaion at curl.haxx.se) and configure your script to use this binary ( see the script documentation).
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby JAB Creations » 11. August 2007 00:12

haha I was starting to look to see if Curl was included somehow...I saw the files after doing a search for "curl" in the PHP directory.

I changed this...

;extension=php_curl.dll


to this...
extension=php_curl.dll


...and restarted Apache. However the script still says I need Curl. Do I need to uncomment anything else?

Thanks for your help thus far! :)
John A. Bilicki III
http://www.jabcreations.com/
JAB Creations
 
Posts: 16
Joined: 24. December 2004 08:51
Location: Sarasota Florida, USA

Postby JAB Creations » 11. August 2007 00:39

Ok I *think* I have it working now LoL...

I was reading this thread...
http://forums.digitalpoint.com/showthread.php?t=73280

Someone mentioned this page...
http://www.menyhart.net/blog/developer- ... -on-xampp/

I searched for all those ini files, uncommented Curl out in each of them, restarted Apache, and I'm no longer getting that error.

I did not have to copy any files, just uncomment out those lines.

I had to look for php.ini, php4.ini, php5.ini, and they mentioned browscap.ini though I didn't see anything commented there and didn't edit it at all. There may be multiple versions of the same file though in different directories. I did a search directly from the base Xampp directory.
John A. Bilicki III
http://www.jabcreations.com/
JAB Creations
 
Posts: 16
Joined: 24. December 2004 08:51
Location: Sarasota Florida, USA


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 168 guests