{"id":2579,"date":"2013-09-25T11:17:51","date_gmt":"2013-09-25T11:17:51","guid":{"rendered":"http:\/\/www.bargh.co.uk\/blog\/?p=1823"},"modified":"2013-09-25T11:17:51","modified_gmt":"2013-09-25T11:17:51","slug":"curl-extension-required","status":"publish","type":"post","link":"https:\/\/bargh.co.uk\/blog\/curl-extension-required\/","title":{"rendered":"cURL extension required"},"content":{"rendered":"<p>I&#8217;m installing OpenCart on a localhost WAMP server.<\/p>\n<p>I came across an error at Step 2 of the Pre-Installation stage<\/p>\n<p><a href=\"https:\/\/bargh.co.uk\/blog\/wp-content\/uploads\/opencart-install.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1824 alignright\" style=\"margin-left: 10px;\" alt=\"opencart-install\" src=\"https:\/\/bargh.co.uk\/blog\/wp-content\/uploads\/opencart-install.jpg\" width=\"300\" height=\"219\" \/><\/a>The status for Extensions showed a red &#8211; against cURL.<\/p>\n<p>After a bit of Google research several options were found.<\/p>\n<p>One was to enable cURL extension by going to the php.ini file and removing the semi colon in front of the line<\/p>\n<blockquote><p>extension=php_curl.dll<\/p><\/blockquote>\n<p>In my case that was already removed so the extension was supposedly enabled<\/p>\n<p>Next check the the localhost index\/menu page for loaded extensions.\u00a0 I noticed that curl was not listed<\/p>\n<p>After checking the php.info page (accessed from localhost index\/menu page) details of curl were missing<\/p>\n<p>I then read that I may have the curl extension. Apparently you need the one to match your php install. So I checked my version of php (found on the localhost index\/menu page) 5.4.3 and downloaded the equivalent Fixed curl extension from here: <a href=\"http:\/\/www.anindya.com\/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windowshttp:\/\/\">http:\/\/www.anindya.com\/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows<\/a>\/<br \/>\nOnce unzipped the php_curl.dll file needs to be placed in the ext folder of php. C\/wamp\/bin\/php\/php5.4.3\/ext<\/p>\n<p>That worked and replaced the red error with the necessary green tick.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m installing OpenCart on a localhost WAMP server. I came across an error at Step 2 of the Pre-Installation stage The status for Extensions showed a red &#8211; against cURL. After a bit of Google research several options were found. One was to enable cURL extension by going to the php.ini file and removing the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1296,1300],"tags":[1534,1912,2266],"class_list":["post-2579","post","type-post","status-publish","format-standard","hentry","category-helping-hand","category-web-development","tag-curl-extension","tag-opencart","tag-wamp"],"_links":{"self":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=2579"}],"version-history":[{"count":0,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2579\/revisions"}],"wp:attachment":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=2579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=2579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=2579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}