cURL stands for “Client for URLs”. It is a command line tool for transferring files using URL syntax and supports many internet transfer protocols such as DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, Telnet and TFTP. cURL also supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos), file transfer resume, proxy tunneling, and others.
cURL uses a portable library called “libcurl” which is compatible with many platforms, Windows, Linux, and Unix family.
Since PHP version 4.0.2, it provides native support for “libcurl” and many functions were added to this version for this purpose. All newer versions of PHP support cURL by default. But you first have to enable the cURL library in your server installation (php.ini file) in order to use it.
Here is a simple step by step to enable cURL extension in server installation using WAMPServer and XAMPP.
Enable cURL for WAMPServer
1. Double click on the WAMPServer icon in your system tray.
2. Go to the ‘PHP’ Menu, and then ‘PHP Extensions’.
3. Enable ‘php_curl’.
4. Restart WAMPServer.
Enable cURL for XAMPP
Enabling cURL extension in XAMPP installation is a bit trickier.
1. First of all, find all the following files.
2. Find the following code in each file.
3. Uncomment this line by removing the “;” (semi-colon) before this line in each file and save your change.
4. Restart Apache.
That’s all. Have fun with your cURL enabled server
Source: cURL, RatedSAWJ
User Related Search
- enable rtsp in php ini
- how to enable sub menu in php using wamp server
- wamp curl https certificate
- wamp server kerberos