Solved

How do I install cURL on Windows Server 2008?

Posted on 2011-02-14
4
4,074 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 …
Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
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…

708 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

19 Experts available now in Live!

Get 1:1 Help Now