Header Ads

Breaking News
recent

How to Enable cURL in Wamp and Xampp Server?

Hi readers,  


After long time going to post something about developing . So, title says how to enable cURL in wamp and xampp server.


cURL stands for ‘Client for URLs‘.
It is a command line tool for transferring files using URL syntax and supports many internet transfer protocols. It uses a portable library called ‘libcurl’ which is compatible with many platforms.
PHP provides native support for ‘libcurl’ and many functions were added to PHP X.X.X for this purpose. All newer versions support cURL.
But first you have to enable the cURL library in your server installation files in order to use it.

For Wamp Server :-

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.

For XAMPP :-


1. First, find all the following files.
C:\Program Files\xampp\php\php.ini
C:\Program Files\xampp\php\php4\php.ini
C:\Program Files\xampp\apache\bin\php.ini
2. Find the following code in each file.
3. Remove the ‘;’ (semi-colon) before this line in each file and save.
4. Restart Apache.
;extension=php_curl.dll



Enjoy ! Let me know if it doesn't work...


Please give me your feedback in
comment boxDon't be Silent reader's...

Don't forget to Subscribe Us. Give 5 Second to Share it , Like it & tweet it .

No comments:

Powered by Blogger.