Installing curl in windows vista

E-mail Print PDF

In this article, I shall give you one sloution for a range of questions like :-

How to install curl in windows vista?

How to install apache in windows vista?

How to install php in windows vista?

How to install mysql in windows?

I wanted to test the scripts for grabbing email contacts which uses curl library on my home machine. After searching the internet I realised that the scripts probably won’t work in IIS server. So I had to install Apache server. Now configuring Apache with mysql and php seemed to be a big task as well. However my work was made very easy by XAMPP. So I decided to write this small article on how to setup curl library in Windows platform. 

First of all grab the latest version of XAMPP. It installs Apache, Mysql and Php and configures them automatically. It also comes with some handy tools like phpmyadmin.

Then open the php configuration file php.ini in the directory [xampp installation directory]/apache/bin and uncomment the line:-

extension=php_curl.dll

Thereafter copy the dynamic library files libeay32.dll, ssleay32.dll and php5ts.dll into the system32 directory of your windows installation.

All you need to do next is to restart Apache from XAMPP control panel and there you go curl is ready to be used.

phpinfo() should now show curl library loaded. Hope this small article is useful for someone.