Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Do I Install cURL?

Status
Not open for further replies.

TStriker

Programmer
Nov 12, 2003
277
US
I have PHP loaded on a Windows 2003 server running IIS. I'm trying to access a page that uses cURL. I know that cURL is not loaded (maybe there, but not enabled) because php_info() displays info but nothing concerning cURL.

I'm a real PHP rookie so the plainly obvious to you is not necessarily plainly obvious to me. I have php loaded on the server in a folder c:\php. In that folder is the ext folder and in there is a file named php_curl.dll. Does this mean that curl is there just not enabled?

I altered the php.ini file so that it has this entry:

extension_dir = "./ext/"

And after that I restarted the World Wide Web Publishing service but that had no effect.

Where am I going wrong? Have I missed something big?

-Striker
 
A bit more info:

I did a php.exe -i at the command prompt on the server and it returned this:

cURL support => enabled
cURL Information => libcurl/7.14.0 OpenSSL/0.9.8d zlib/1.2.3

Which makes me think it is enabled but... when I use the php_info() function from a .php page, it has no reference to cURL at all.

Does this sound right?

-Striker
 
Mr. Striker,

You shouls check to see if the proper php.ini file is loading.

-Striker
 
You know what, it wasn't. The problem was that the wrong php.ini file was loading. Thanks for your help Mr. Striker!

-Striker
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top