Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Help installing Curl


ghost's Avatar
0 0

I am having serious problems installing Curl on my server. I changed the php.ini (took out the ";"). Put msvcrt.dll, ssleay32.dll, libeay32.dll into /system32. Yet I still get the same error > Error: cURL is not installed, please contact your server administrator.. Or I get the error > Fatal error: Unknown function: curl_init() in C:\Program Files\xampp\htdocs\curl.php on line 2. It's a Apache 2.2.2, PHP 5.1.4 running on windows XP SP2. I also rebooted. Where am I going wrong!!


richohealey's Avatar
Python Ninja
0 0

XP! that's where your wrong.. but that has nothing to do with your curl issues. i don't know, i'm still very novice with coding with curl… someone will know though


ghost's Avatar
0 0

Since you are running Xp, why don't you install the latest version of WAMP. You can easily add Apache or PHP modules by simply clicking on them in a menu :)


ghost's Avatar
0 0

Excellent!:D Thanks alot


ghost's Avatar
0 0

Noo… not XAMPP. You'll be killing yourself every time you upgrade anything.

As for installing curl, I'll assume you mean curl the PHP extension, not curl the program (hell I have both installed).

You should have a line in php.ini around line 529 as follows: extension_dir = "C:\php\ext" Make sure that points to the right folder. Then around 639 you have the block for the extensions, my curl line is as follows: extension=php_curl.dll Of course make sure you have php_curl.dll in the folder. If not, post here and I'll send you my copy.

Og and I've got ssleay32.dll and libeay32.dll in c:\php\. But that's cos I've got c:\php in the systems PATH variable too. If you don't want to do that, then shoving them in c:\windows\system\ should do the trick.


SySTeM's Avatar
-=[TheOutlaw]=-
20 0

WhiteAcid wrote: As for installing curl, I'll assume you mean curl the PHP extension, not curl the program (hell I have both installed).

Hehe, me too, libcurl and the curl extension :)