Solved

How to enable curl in php?

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

Author Comment

by:designersx
ID: 24016484
hello logudotcom:

no i am using wamp server.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

932 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

12 Experts available now in Live!

Get 1:1 Help Now