Page 1 of 1

Install cURL with XAMPP

Posted: Wed Jan 04, 2012 8:41 am
by mck.workman
Hey guys!

I tried installing cURL by uncommenting the cURL in both php.ini (one was INI-DEVELOPMENT and the other was INI-PRODUCTION) files under XAMPP\php. I restarted and ran <?PHP phpinfo();?> to test but am geting nothing...I have XAMPP version 2.5.

Why isn't it working?

Thank you!
McK

Re: Install cURL with XAMPP

Posted: Wed Jan 04, 2012 8:49 am
by social_experiment
Edit the php.ini file inside apache/bin/

Re: Install cURL with XAMPP

Posted: Wed Jan 04, 2012 2:12 pm
by mck.workman
That is the weird thing--I don't have one. I only have xampp\php\php.ini (INI-DEVELOPMENT) and xampp\php\php.ini (INI-PRODUCTION). I uncommented curl from both of these. I ran phpinfo() and saw that the Loaded Configuration File is indeed here ( C:\xampp\php\php.ini ) but why are there two and why after editing both and restarting can I not run <?PHP phpinfo();?>?

Thank you!

Re: Install cURL with XAMPP

Posted: Wed Jan 04, 2012 2:34 pm
by mck.workman
Okay. There is another ini file in xxamp\php also called php.ini that comes up when you search for "php.ini" in the windows search bar as the first file but it doesn't say ini like the others until you right click and look at its properties. THIS is the file that you uncomment. Then it works. Thanks.

Re: Install cURL with XAMPP

Posted: Wed Jan 04, 2012 3:10 pm
by social_experiment
In the latest version of xampp (1.7.something) the 'working' php.ini is inside the php folder; not sure what was the purpose of the earlier version's multiple php.ini files.