How to enable cURL in PHP / XAMPP?

0 votes
How do I enable cURL in PHP?
Oct 1 in PHP by kartik
• 35,620 points
100 views

1 answer to this question.

0 votes

Hello @kartik,

Since you're using XAMPP, uncomment the line

;extension=php_curl.dll

in xampp\apache\bin\php.ini, and then restart the Apache service.

NB: In newer XAMPP versions, PHP has moved to root xampp folder xampp\php\php.ini.

Hope it helps!!

Thank You!!

answered Oct 1 by Niroj
• 77,360 points
Thanks it worked man!!
Great!! Worked

Hey, @There,

If the solution has helped you then do upvote the answer and do post your tech queries with the Edureka community!!!

Related Questions In PHP

0 votes
2 answers

How to catch curl errors in PHP?

For (PHP 4 >= 4.0.3, PHP 5, ...READ MORE

answered Nov 9 in PHP by anonymous
• 160 points
265 views
0 votes
1 answer

How to get response using cURL in PHP?

Hello @kartik, Use the below piece of code ...READ MORE

answered Oct 18 in PHP by Niroj
• 77,360 points
48 views
0 votes
1 answer

How to enable PHP support in Netbeans?

Hello @kartik, Go to Tools->Plugins. In the Settings tab ensure that the ...READ MORE

answered Nov 5 in PHP by Niroj
• 77,360 points
15 views
0 votes
1 answer

How to use basic authorization in PHP curl?

Hello @kartik, Try the following code : $username='ABC'; $password='XYZ'; $URL='<URL>'; $ch = ...READ MORE

answered Nov 8 in PHP by Niroj
• 77,360 points
11 views
0 votes
1 answer

jQuery AJAX fires error callback on window unload - how do I filter out unload and only catch real errors?

Hello, In the error callback or $.ajax you have three ...READ MORE

answered Apr 27 in Java-Script by Niroj
• 77,360 points
445 views
0 votes
1 answer

How do I pass command line arguments to a Node.js program?

Hello @kartik, If your script is called myScript.js ...READ MORE

answered May 5 in Java-Script by Niroj
• 77,360 points
690 views
0 votes
1 answer

Error:Issue when trying to use IN() in wordpress database

Hello @kartik, Try this code : // Create an ...READ MORE

answered May 8 in PHP by Niroj
• 77,360 points
91 views
+2 votes
1 answer

How do I debug Node.js applications?

Hello @kartik, Use node-inspector  from any browser supporting WebSocket. Breakpoints, ...READ MORE

answered Jul 8 in Node-js by Niroj
• 77,360 points
87 views
0 votes
1 answer

How to enable curl in xampp?

Hello @kartik, You have to modify the php.ini ...READ MORE

answered Oct 29 in PHP by Niroj
• 77,360 points
30 views
0 votes
1 answer

How can I connect to a Tor hidden service using CURL in PHP?

Hello @kartik, I use Privoxy and cURL to scrape Tor ...READ MORE

answered May 19 in PHP by Niroj
• 77,360 points
873 views