curl-and-php
Re: Newbie needs help with cURL : missing php_curl.dll?
Date: Mon, 03 Dec 2007 10:07:26 -0800
Hi Kahren,
1) php_curl.dll should be in your php\ext\ directory.
2) I believe that it normally comes with php 5, though it is not turned
on by default. I've always downloaded the .zip version of the install
package and installed it manually since I haven't found the automatic
installer all that useful. If it is not in the copy that you have, get
the .zip version; it has many extensions including curl.
3) To install php_curl, make sure the dll is in the php\ext\ directory
with all the other php extensions. Find the "Windows Extensions" section
in php.ini and add a line that says "extension=php_curl.dll". You don't
actually have to add the line to that exact part of the file, but it is
nice to keep related things together. I assume you're running php via a
web server, so after you change the php.ini file, you'll have to restart
the web server software to get it to reload the file.
4) To test if your curl installation works, run a script through a line
like this:
$ch = curl_init();
If you get no warning message, the curl extension is installed.
Let us know how it works out. :-)
Morgan Galpin.
Kahren Arzoumanian wrote:
> hi,
>
> to start I am a newbie. I am running PHP5 and Apache 2.2 and need to
> have cURL running to execute a sample app.
> I have ascertained that both libeay32.dll and slleay32.dll are
> installed in WINNT\system32 folder.
> php_curl.dll is not installed
> php.ini does not include extension=php_curl.dll statement commented
> out or not
>
> I spent several hours reading everything and anything available on the
> web. I
> I have downloaded cURL 7.17.1 from http://curl.haxx.se/download.html
> but it seems I need to compile. I do not have a compiler and would
> prefer not to get into compiling...
>
> My questions which I would extremely appreciate the help with are:
> 1) where would I get php_curl.dll?
> 2) why didn't PHP5 install it?
> 3) assuming I get a copy of php_curl.dll, what and where exactly do I
> need to add in php.ini
>
> Thanks in advance!
> Kahren
> ------------------------------------------------------------------------
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-12-03