Activating curl in Xampp server

Xamp pic
Xamp pic

Curl by default in Xampp is turned off, turning it on is always a mind twisting experience for newbies yet an easy process as you will witness in this tutorial.

So lets begin the process…

1. Lets begin by finding the php.ini” file.

2. To do that we need to navigate to “xampp\apache\bin” folder

3. Once in the above folder, we find and open the file Php.ini (use your preferred php editor or Notepad to open the php.ini file).

4. Now we need to search for the line that says ;extension=php_curl.dll (in the php.ini file )

5. And delete out the semicolon at the beginning of the line

6. After editing we need to save php.ini file

7. ...stop and start(restart) apache

8.And crosscheck the phpinfo() to confirm that curl is activated.

9. If it isn’t activated we might need to move some dlls to the windows\system directory.
(libeay32.dll and ssleay32.dll)


More by this Author

Comments 4 comments

agvulpes profile image

agvulpes 6 years ago from Australia

I am using Xampp (installed on my computer) to study Wordpress and Joomla. I do not know what 'curl' is! Can you describe it for me please?

dexixy profile image

dexixy 6 years ago from Kampala Author

cURL is the name of the project. The name is a play on 'Client for URLs', originally with URL spelled in uppercase to make it obvious it deals with URLs. The cURL project produces two products:

* libcurl

A free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, FILE and LDAP. libcurl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, erberos, HTTP form based upload, proxies, cookies, user+password authentication, file transfer resume, http proxy tunneling and more!

* curl

A command line tool for getting or sending files using URL syntax.

Since curl uses libcurl, it supports a range of common Internet protocols, currently including HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, LDAP, DICT,TELNET and FILE.

-got this detailed explanation for you from, Hope it helps

agvulpes profile image

agvulpes 6 years ago from Australia

Thanks for the explanation! At this stage of my development I don't think I will need it but, thanks to you, I will know where to come, when and if, I do need it :-)

wasis 5 years ago


    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.

    Click to Rate This Article