Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1048
  • Last Modified:

How to enable curl in php?

how to enable the curl in php? i am unable to do it?
0
designersx
Asked:
designersx
  • 5
  • 2
1 Solution
 
Loganathan NatarajanLAMP DeveloperCommented:
in your php.ini file,  uncommented line

extension=php_curl.dll



0
 
Loganathan NatarajanLAMP DeveloperCommented:
just remove ;


0
 
Loganathan NatarajanLAMP DeveloperCommented:
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
designersxAuthor Commented:
hello logudotcom:

no i am using wamp server.
0
 
Loganathan NatarajanLAMP DeveloperCommented:
0
 
Loganathan NatarajanLAMP DeveloperCommented:
to enable curl left click on the wamp tray icon -> php settings -> php extensions -> php_curl
0
 
designersxAuthor Commented:
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
 
shobinsunCommented:
Hello,

First of all you should install curl.

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

Regards.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now