[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How do I install cURL on Windows Server 2008?

Posted on 2011-02-14
4
Medium Priority
?
4,883 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

656 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