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

curl-and-php

Re: hi!Where can i find and download the php compiled with curl for window2000

From: imran khalid <imranlink_at_hotmail.com>
Date: Tue, 06 May 2003 09:21:34 +0000

hi,

You can download the CURL *dll's from the sites to work on win2000.

http://curl.haxx.se/download.html
http://www.php.net/manual/en/ref.curl.php

Requirements
In order to use the CURL functions you need to install the CURL package. PHP
requires that you use CURL 7.0.2-beta or higher. PHP will not work with any
version of CURL below version 7.0.2-beta. From PHP version 4.2.3 you will
atleast need CURL version 7.9.0 or higher.

Installation
To use PHP's CURL support you must also compile PHP --with-curl[=DIR] where
DIR is the location of the directory containing the lib and include
directories. In the "include" directory there should be a folder named
"curl" which should contain the easy.h and curl.h files. There should be a
file named libcurl.a located in the "lib" directory. Beginning with PHP
4.3.0 you can configure PHP to use CURL for url streams --with-curlwrappers.

Note to Win32 Users: In order to enable this module on a Windows
environment, you must copy libeay32.dll and ssleay32.dll from the DLL folder
of the PHP/Win32 binary package to the SYSTEM32 folder of your windows
machine. (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32)

Edit your php.ini file:

You will need to change the extension_dir setting to point to the directory
where your extensions lives, or where you have placed your php_*.dll files.
Please do not forget thelast backslash. For example:

                                  extension_dir = c:/php/extensions/

Enable the extension(s) in php.ini you want to use by uncommenting the
'extension=php_*.dll' lines in php.ini. This is done by deleting the leading
; form the
                                 extension you want to load.
;Windows Extensions

;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_crack.dll
extension=php_curl.dll // this line is uncommented

Regards,
Imran Khalid
imranlink_at_hotmail.com
wazirabad_at_yahoo.com

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-05-06