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 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! 🙂
AG says
Can you enable by editing this files on Solaris too?
mau says
Thanks a lot!
I needed it to start trying Twitter API.
Kertz says
thanks buddy that was really helpful 🙂
amin2u says
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?
kashif says
thankx buddy..
gene says
these ar not in my folder
xampp\php\php4\php.ini
xampp\apache\bin\php.ini
so wht can i do
Bijayani says
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.com/What-is-cURL-And-How-To-Enable-It-For-XAMPP-183.php
Hope you find it useful and of assistance.
Thanks,
Bijayani
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
Ram says
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.
district says
thanks for this tutorial, I was installing the list bingo and only uncomented \xampp\php\php.ini and it worked for me
karlos says
Very useful article!
bridal shower invitation poems says
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.