Solved

How do I install cURL on Windows Server 2008?

Posted on 2011-02-14
4
4,174 Views
Last Modified: 2012-05-11
My web server runs on Windows Server 2008 with PHP 5.2.11 and Apache 2.2.13.  I need to install cURL and tried the following:

1.       Enable cURL by uncommenting the line extension=php_curl.dll in php.ini
2.       Copy the following libraries to the directory windows/system32
ssleay32.dll
libeay32.dll
3.       Copy php_curl.dll from the /ext directory to windows/sytem32 directory
4.       I also copied the above mentioned libraries into the php directory for a good measure

Unfortunately, it didn't seem to work and I'm not sure what else I need to do.  Any ideas?  Thank you.

0
Comment
Question by:JT2010
  • 3
4 Comments
 
LVL 13

Expert Comment

by:dsmile
ID: 34894530
You have to edit php.ini to set extension_dir to point to where /ext directory of PHP located, then restart Apache.
Both ssleay32.dll and libeay32.dll can be put in /bin of Apache also.
If you put them in system32, may be you need to unblock them (right click and select unblock, and this is on Win7m I'm not sure it might be neccessary on Win Server 2008)
0
 

Author Comment

by:JT2010
ID: 34898340
Thanks for the response.  I verified that extension_dir is set to c:/php/ext, which is correct path, and I also copied ssleay32.dll and libeay32.dll into c:/Apache2.2/bin, and then restarted Apache.  Unfortunately, however, it didn't seem to work.
0
 

Accepted Solution

by:
JT2010 earned 0 total points
ID: 34902382
I tried the following and now cURL is installed successfully.

1.       Enable cURL by uncommenting the line extension=php_curl.dll in php.ini
2.       Copy the following libraries to the directory SysWOW64 as the machine is 64-bit.
               ssleay32.dll
               libeay32.dll
3.      Reboot the machine for the changes to take effect!

0
 

Author Closing Comment

by:JT2010
ID: 34936564
cURL is now successfully installed on Windows Server 2008!
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now