Solved

How to enable curl in php?

Posted on 2009-03-29
8
1,030 Views
Last Modified: 2013-12-13
how to enable the curl in php? i am unable to do it?
0
Comment
Question by:designersx
[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
  • 5
  • 2
8 Comments
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 24016466
in your php.ini file,  uncommented line

extension=php_curl.dll



0
 
LVL 36

Accepted Solution

by:
Loganathan Natarajan earned 50 total points
ID: 24016470
just remove ;


0
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 24016478
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

Author Comment

by:designersx
ID: 24016484
hello logudotcom:

no i am using wamp server.
0
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 24016489
0
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 24016493
to enable curl left click on the wamp tray icon -> php settings -> php extensions -> php_curl
0
 

Author Comment

by:designersx
ID: 24016505
actually i has a code in which geocoder tells the latitude and longitude by address. in that program, i was getting the error curl_init() not defined, that means my curl are not defined and in php.ini file

;extension=php_bz2.dll
;extension=php_curl.dll

it is written like this, it is already uncommented. so now tell what to do?

how do i come to know that my curl have been enabled?
0
 
LVL 14

Expert Comment

by:shobinsun
ID: 24016521
Hello,

First of all you should install curl.

For this  yum (or apt-get) install php-curl curl-devel

Regards.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

752 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