cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Help... me...

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 9 Sep 2004 20:51:48 +0200 (CEST)

On Fri, 10 Sep 2004, Simon Orsborn wrote:

> So here's what I've tried so far. First of all I found a web page that said
> curl is included in PHP 4.something.something

PHP/CURL is *supported* from PHP 4.something.something.

> and I should just uncomment the extension in the php.ini file.

... if you get the windows pre-built version, yes.

> Unknown(): Unable to load dynamic library 'c:\php\extensions\php_curl.dll' -
> The specified module could not be found

So it seems to be missing.

> So I look in the folder where it says the file is, and there it is large as
> life. I have no clue why PHP can't find it.

So the php_curl.dll is present? And you have a libcurl.dll in your system as
well?

> So then I find the official curl website, and discover it has win32
> downloads of curl. So I download the file and unzip it. No php_curl.dll.
> Only an exe.

curl is a command line tool. You think of and talk about PHP/CURL, which is a
PHP module that uses libcurl: http://curl.haxx.se/docs/faq.html#7.1

> Then I find the
> 'Installing the PHP binding' article by Lim Chung Keng, and get as far as
> line 4 where it says 'Build OpenSSL'.

That instruction is for *nix-like systems. Not windows.

> Surely there has to be some quick easy way of getting cURL going on windows
> XP with PHP 4.3.1 and Apache 2

curl the command line tool is a simple exe, you already downloaded it and it
works ímmediately.

Getting the PHP/CURL module to work is a PHP-related issue, so I think you
should ask in a PHP-on-windows forum for help. I know very little PHP and I
never use Windows.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-09-09