Enabling cURL in XAMPP

By default cURL is disable in XAMPP installation. If you want to enable cURL of your XAMPP environment then uncomment the following line:

;extension=php_curl.dll

to

extension=php_curl.dll

in the C:\Program Files\xampp\apache\bin\php.ini file (assuming you have installed XAMPP in “C:\Program Files” folder).

If you plan to switch version of PHP in XAMPP you may made the change in following files (assuming you have installed XAMPP in “C:\Program Files” folder):

  • C:\Program Files\xampp\php\php5.ini
  • C:\Program Files\xampp\php\php.ini
  • C:\Program Files\xampp\php\php4\php.ini
  • C:\Program Files\xampp\php\php4\php4.ini
share save 120 16 Enabling cURL in XAMPP

2 thoughts on “Enabling cURL in XAMPP

  1. Hi,
    How can I configure the same thing for Mac OSX?? I already change PHP.ini file with above change in my etc directory of XAMPP. So when I start my server it complains that curl.dll not found in extensions.

    Thank you

  2. Hi,
    I have not used XAMPP on Mac. Have you checked your extension directory if the dll exists or not. I think the dll might have been corrupted. Try to download a fresh copy.

    By the way, if you resolve this problem then please post here how you have done it. So that others (and also I ;) ) can know how to solve the issue.

    Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>