tags:

views:

3363

answers:

5

Could any body tell me How to Enable curl in PHP

Thanks in Advance

Fero

+1  A: 

You can check php_info() (create a script containing and browse to it) This will tell you if you really do have it enabled, if not read here

Not recommended for the faint hearted windows developer.

Question Mark
nope Mark.. I am in need to ENABLE cURL support exactly. Actually i did it by uncommenting the extension=php_curl.dllin the xampp\apache\bin\php.ini file . But it does not reflect. Any more Idea
Fero
Did you restart xampp? Did you get an error in your xampp log file? Do you have php_curl.dll in your xampp php extensions directory?
Question Mark
A: 

You compile your PHP using --with-curl.

chaos
+3  A: 

on debian with apache2:

apt-get install php5-curl
/etc/init.d/apache2 restart

(php4-curl if it's php4)

Phil
+3  A: 

Since you're using XAMPP, uncomment the line

;extension=php_curl.dll

in xampp\apache\bin\php.ini, and then restart the Apache service.

Jon Benedicto
A: 

Actually i did it by un commenting the extension=php_curl.dllin the xampp\apache\bin\php.ini file.. Thanks for all who supports this Question.

Fero