{"id":1065,"date":"2022-08-30T15:11:48","date_gmt":"2022-08-30T15:11:48","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/how-to-enable-curl-in-xampp-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:11:48","modified_gmt":"2022-08-30T15:11:48","slug":"how-to-enable-curl-in-xampp-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/how-to-enable-curl-in-xampp-collection-of-common-programming-errors\/","title":{"rendered":"how to enable curl in xampp-Collection of common programming errors"},"content":{"rendered":"<p>As you said, we&#8217;ll uncomment the line &#8220;;extension=php_curl.dll&#8221; in php.ini<\/p>\n<p>php.ini can be in multiple places. To check where the pertinent one is, go to phpmyadmin (http:\/\/localhost\/phpmyadmin) run phpinfo() -&gt; left hand side menu.<\/p>\n<p>It&#8217;ll say a half page down in the left column: &#8220;Configuration File (php.ini) Path&#8221; with the path in the right column.<\/p>\n<p>Or just search the page for php.ini (Ctrl+F)<\/p>\n<p>Different versions of xampp had php.ini if in different directories, and some have 3 versions of the file in different places. Many tutorials say to change all of them in case you change settings\/uses later.<\/p>\n<p>Open file in text editor and find the line (via search) ;extension=php_curl.dll<\/p>\n<p>Remove the &#8220;;&#8221; to uncomment it, so it becomes: extension=php_curl.dll<\/p>\n<p>Save file. Restart apache.<\/p>\n<p>Double check and run phpinfo() again. Search for &#8220;curl&#8221; Under &#8220;cURL support&#8221; It should say &#8220;enabled.&#8221;<\/p>\n<p>Cheers!<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 23:20:50. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>As you said, we&#8217;ll uncomment the line &#8220;;extension=php_curl.dll&#8221; in php.ini php.ini can be in multiple places. To check where the pertinent one is, go to phpmyadmin (http:\/\/localhost\/phpmyadmin) run phpinfo() -&gt; left hand side menu. It&#8217;ll say a half page down in the left column: &#8220;Configuration File (php.ini) Path&#8221; with the path in the right column. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1065","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1065"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1065\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}