cURL
Your ad here would be seen by 100,000 unique vistors every month File upload component for ASP.NET
libcurl
Automatically get a mirror near you

More Internet Tools Here, Visit New Easy Freeware, Free Programs PC, Shareware Super Downloads, Printers, Munich Fair Hotel, Hotel Munich, acai, Gian Page, Collection of Natalie, Diamond rings and Engagement Rings, Hotel Berlin, I learned from you, Coupon code, Hotel booking online, Hotel booking online, Hotel Berlin

Shopping cart software, Online file storage and sharing, Online photo storage and sharing, Online store builder, Online contact management, Online email marketing, Online project management, Online issue tracking, Online notepad, Online publishing

SourceForge.net Logo

cURL > libcurl > PHP Binding > Install

Installing the PHP/CURL binding

You might also find it helpful to install Apache + PHP + CURL + SSL using the Apache Toolbox. Check further down for Windows install.

Manual Build and Install

Build OpenSSL (In openssl-0.9.x directory)

./config
make
make test
make install

Build CURL (In curl-7.x.x directory)

./configure --with-ssl=/usr/local/ssl (if ssl was installed here)
make
make install (libcurl.so is now in /usr/local/lib)

Build PHP (In php-4.x.x directory)

./configure --with-openssl=/usr/local/ssl \
  --with-curl=/usr/local/lib --with-apache=../apache_1.3.x
make
make install

Build and install SSL-aware Apache (In mod_ssl-2.8.xxxx directory)

./configure --with-apache=../apache1.3.x --with-ssl=/usr/local/ssl \
  --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a
Follow remaining steps the output tells.
Restart your apache... BINGO!

(contributed by Lim Chung Keng)

Windows

Activation of PHP/CURL on windows is starting up notepad (or similar) and removing a semicolon from the following line in php.ini:

;extension=php_curl.dll
(Mentioned here: php.net/manual/install.windows.extensions.php)

libcurl is statically linked in, but the SSL libraries are not, thus the note to Win32 users on php.net/curl. The two SSL-related DLLs from the OpenSSL project (libeay32.dll and ssleay32.dll) are bundled with the Windows PHP package.

In order to SSL-based protocols (such as HTTPS and FTPS) in your Windows environment, you must copy libeay32.dll and ssleay32.dll from the DLL folder of the PHP/ binary package to the SYSTEM folder of your Windows machine. (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM).

(Michael Wallner contributed to this)

donate! Page updated June 22, 2008.
web site info

Mirror provided by HKMirror. Sponsored by Porno Verzameling, Kickass Porn Sites, Information Websites and All that we know