Enable cURL in XAMPP

I was trying to setup WHMCS, a complete client management solution at localhost at the office. This thing needs cURL enabled before I can proceed to install the script. Because WHMCS is new to me and because my boss wants me to integrate WHMCS in their new website, so I need to use it and study how it works. But first, I must handle the cURL problem.

xampp.gifXAMPP as some of you may already know, it is an application that you can use to make your computer acts like a server. It is really useful if you want to play with PHP files, test scripts, do mySQL queries, etc. You also can run WordPress in XAMPP. Almost of the time I use XAMPP to develop and test my WordPress themes locally.

Ok, back to our discussion. To enable cURL in XAMPP is not that hard because everything was already been set in the configuration settings. You just need to un-comment cURL dll line in these three files.

\xampp\php\php.ini
\xampp\php\php4\php.ini
\xampp\apache\bin\php.ini

Next what you need to do is search “curl” in these three files and remove semi-colon ( ; ) character from the line and save the files. But don’t forget to restart your Apache or it will not work. Good luck! 🙂

Comments

  1. Can you enable by editing this files on Solaris too?

  2. Thanks a lot!

    I needed it to start trying Twitter API.

  3. thanks buddy that was really helpful 🙂

  4. helo pal…come on la share with us with your experience WHMCS tuh… I really interest in it. Your company aredi buy that software ek?

  5. thankx buddy..

  6. these ar not in my folder
    xampp\php\php4\php.ini
    xampp\apache\bin\php.ini

    so wht can i do

  7. Hi,

    I happened to see your post and find it quite informative. Would like to share a link where a software engineer has shared a tip on “What is cURL and how to enable it for XAMPP? ”.

    “cURL is a command line tool for transferring files with URL syntax. It supports a number of transfer protocols including HTTP and FTP”.

    For more detail here is the link:
    http://www.mindfiresolutions.c.....PP-183.php

    Hope you find it useful and of assistance.

    Thanks,
    Bijayani

  8. Abdul Jabbar says:

    Hi,
    i was looking for a solution, and find your article but brother files that you mention above are not available in following directories
    \xampp\php\php4\php.ini
    \xampp\apache\bin\php.ini

    except this directory.
    \xampp\php\php.ini

    can you please help me out how i will be able to run this on localhost server

  9. My WHMCS is Working fine on Localhost!!! Thank for this Tutorial!

    If you cant find these two files,
    \xampp\php\php4\php.ini
    \xampp\apache\bin\php.ini

    Please create these file by coping from \xampp\php\php.ini

    and dont forget to restart your Apache Server.

  10. thanks for this tutorial, I was installing the list bingo and only uncomented \xampp\php\php.ini and it worked for me

  11. Very useful article!

  12. I’ve been exploring for a bit for any high quality articles or blog posts in this sort of area . Exploring in Yahoo I ultimately stumbled upon this web site. Reading this info So i’m
    satisfied to show that I’ve a very just right uncanny feeling I found out exactly what I needed. I such a lot undoubtedly will make sure to don?t overlook this web site and give it a look regularly.

  13. If you are aiming for fitness objectives, you’ll be able
    to set it up onn GymGoal Lite for easier
    group.

  14. According to this study by Nielsen, a game quality assurance
    and analytic group, an i – Phone user spends around 15 hours
    on average every month playing games. This means you can enjoy Metal Slug, King
    of Fighters, Street Fighter Alpha and Do – Don –
    Pachi on your phone’s screen. s up to you to choose the best one for the structure ahead.

  15. That is very fascinating, You are an overly professional blogger. I have joined your feed and look ahead to in quest of extra of your great post. Also, I’ve shared your site in my social networks!

  16. Under General Browse, yoou can look a selection of ways, consisting of race distance.

  17. I’ve been surfing on-line greater than three hours today, yet I never found any attention-grabbing article like yours.
    It’s lovely worth sufficient for me. In my opinion, if all website owners
    and bloggers made excellent content material as you probably did, the internet shall be a lot more helpful than ever before.

  18. Large firms have more than 50 lawyers and are often the most reputable because the company has been in existence for many years.

    John Glazer enjoys educating consumers of Montgomery County Pa concerning the personal injury legal process.
    The success of winning the case, with a personal injury attorney on your side, depends on many factors including the nature
    of your case, the labor laws in your country and how the justice system in your country works.