Solved

How to enable curl in php?

Posted on 2009-03-29
8
1,026 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction Many web sites contain image galleries; a common design for these galleries includes a page with a collection of thumbnail images.  You can click on each of the thumbnail images to see the larger version of the image.  This is easily i…
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
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…

705 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

19 Experts available now in Live!

Get 1:1 Help Now