Simple yet effective.
- Go to xampp install directory.
- Go to php.ini in php directory.
- Open php.ini and find curl, uncomment the first find you see. Save and close file.
- Go to php.ini in apache directory.
- Repeat Step Three.
Done.
FollowingView all... |
|
Simple yet effective.
Done.
many thanks dude for very simple but useful tip! You saved my time a lot.
Wonderful !!!! You Have Done Your Job Beautifully !!!! Keep It Up…..
Thanks a ton! Lot of results on the web, but nothing worked. It seems like they are not aware of multiple php.ini present. Yours worked for me perfectly!
Thanks! It works!
Thanks, very simple and it worked.. Now able to to run cURL from my home box… saves a lot of time of time.
thanx alot. small tips but of great value. I was able to successfully install moodle due to your valuable suggestion
That was brilliant, it works
Awesome!!!
Thanks and I didnt find php.ini file inside apache/bin. I got curl without changing anything inside apache dir……….Thanks again
Thanks man, it works..
windows XP SP 3 – with the 2009 August XAMP the ini is only in the php folder (makes sense) after uncommenting i registgered the dlls in the windows folder (after copying them from the xamp\php folder) ….
also added the php folder with all the dlls and the apache/bin to my System Path var
but no curl!
now restarting PC!
Perfect, thank you.
I expect restarting Apache would be required more often then not. It was for me, so might be worth adding it to the list just to avoid confusion.
Thanks “Jose Merlin”
Thanks so much. Saved me a lot of time….
- in php\php.ini, extension=php_curl.dll was already uncommented.
- I don’t see php.ini in Apache directory
- I don’t see also *libcurl* named files.
- I’m getting “Warning: include_once(simple_html_dom.php) [function.include-once]: failed to open stream: No such file or directory in ” message in my browser.
Dear Sir, Thanks verymuch for this post. It make my work faster as to being download curl and deploying and install was a big work.
But i have problem i did’nt find any php.ini file in apache.. But i made a change in php folder.
Thanks a ton!
Thanks man ! I enjoyed it a lot .
How to install curl in xampp on linux
Muchas gracias!
Thanks so much. Saved me a lot of time.
Excellent Post, I got it kicking in less than 2 min
Thanks !
Thanks man, it worked.
P.S.: The cURL library is included in xampp, you need only to uncomment the requested lines in the configuration files. Happy coding
Thanks man!
Please follow the steps for curl:
1. Locate XAMPP install directory
2. open php/php.ini
3. do a search for the word ‘curl’ and uncomment (remove the leading semicolon) that line
4. save & close
5. open apache/bin/php.ini
6. search for curl, uncomment as before
7. save & close
8. restart apache
Hi Progress – Gosh, Im not sure what WHMCS is, but it sounds like you need to have SSL support running as well, which is also an Apache mod like cURL. Do you have OpenSSL running? You may need to get both running, then shut down XAMPP and restart it. Let me know if any of this helps.
I also did what u say.. … uncommented but still it says “You must have CURL installed with SSL Support for WHMCS to function correctly” ….
any help with this problem?
Thanks for this simple steps … helped a lot.
Thnx very much , this post help me alot THANKS !b
MAY NEED TO RESTART WINDOWS – ONLY RESTARTING APACHE MAY NOT BE ALL THATS NEEDED
Thanks for this post! Now I don’t have to dig through pages of text or forums! Yay!
@Magara, @Ewan, @Dao – Glad I could help!
Just Briliant. I have been pacing around trying to figure out how to get this working until i came across your awsome post. Many thanks.
Brilliant. Thanks for this.
Awesome! Thanks.
hi jonah, curl is a module in php, identified by libcurl. In XAMPP, this comes pre-packaged, but not pre-installed. You may want to try restarting your XAMPP server, via xampp-control.exe which should be in your xampp root directory.
Do you have to install curl or does it come with XAMPP?
I did phpinfo() and curl doesn’t show up, even though I uncommented it as you directed.
Thanks if you can help.