# Enable PHP-curl

**URL:** <https://community.localwp.com/t/enable-php-curl/5687>\
**Category:** Uncategorized\
**Created:** [March 15, 2018, 7:05pm UTC](https://community.localwp.com/t/enable-php-curl/5687 "2018-03-15T19:05:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![typhooneforrest](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/typhooneforrest/32/2991_2.png) [@typhooneforrest](https://community.localwp.com/u/typhooneforrest)\
**Post date:** [March 15, 2018, 7:05pm UTC](https://community.localwp.com/t/enable-php-curl/5687/1 "2018-03-15T19:05:07Z")

</div>

Hi Guys,

Sorry if this topic have been discussed under a different name/category before but I’m not totally familiar with all the “Tech terms” just yet. But I’m trying to learn:slight\_smile:

I’ve purchased a theme for my WordPress site that I’m trying to set up in my local environment at Local by Flywheel. But things don’t actually goes my way and the support told me that I need to make sure that PHP-Curl is enabled on my local server to connect to the remote server…

How can I do this? Any help is highly appreciated by this rookie.  
Thanks a lot!

/7 Tony

---

<div class="post-metadata">

**Author:** ![solidpixel](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/solidpixel/32/5524_2.png) [@solidpixel](https://community.localwp.com/u/solidpixel)\
**Post date:** [March 16, 2018, 11:28am UTC](https://community.localwp.com/t/enable-php-curl/5687/2 "2018-03-16T11:28:31Z")

</div>

There seems to be an issue with Local when external services try to connect to your site via cURL on port 443 using SSL.  
Many people including myself have been reporting this issue but it’s been ignored by the staff so far.

The only workaround I could find is not to use SSL on the local machine. To do that, go to your WordPress’ settings and replace https:// with http:// in both fields.

After this cURL should be working.

Hope they’ll give us a better option soon.

---

<div class="post-metadata">

**Author:** ![typhooneforrest](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/typhooneforrest/32/2991_2.png) [@typhooneforrest](https://community.localwp.com/u/typhooneforrest)\
**Post date:** [March 16, 2018, 3:05pm UTC](https://community.localwp.com/t/enable-php-curl/5687/3 "2018-03-16T15:05:20Z")

</div>

Hi,

Thanks a lot for your answer. Unfortunately my site is already on http:// since it’s just a local site. And still I have the same issue. Perhaps I should transfer the site to an live environment to see if this solve my problem.

Once again, thanks for taking the time to answer.

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [March 16, 2018, 6:02pm UTC](https://community.localwp.com/t/enable-php-curl/5687/4 "2018-03-16T18:02:08Z")

</div>

Nothing to be sorry about – we all have to start learning somewhere!

Having an external service connect to a Local site is inherently difficult given the fact that many of us don’t have our own domain pointing to a dedicated IP address for our local network, let alone our local virtual machines.

It really depends @typhooneforrest on what machine is doing the cURL’ing, and where it is cURL’ing to.

Is this happening when you are trying to activate the theme? What theme is this?

– Ben

---

<div class="post-metadata">

**Author:** ![typhooneforrest](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/typhooneforrest/32/2991_2.png) [@typhooneforrest](https://community.localwp.com/u/typhooneforrest)\
**Post date:** [March 16, 2018, 6:28pm UTC](https://community.localwp.com/t/enable-php-curl/5687/5 "2018-03-16T18:28:27Z")

</div>

Hi @ben.turner,

The Theme is Marketplace by BuddyBoss. The support guy says the following:  
“_Please make sure PHP-Curl is enabled on your local server._  
_It’s required to connect to the remote server to download demo data._  
_Please communicate with your hosting support to enable it._”

As mentioned I try to load all the demo data for this theme but I can’t get my local environment to connect to their servers properly. And the reason accordingly to BuddyBoss is this “PHP-Curl” thing.

All the best!

// Tony

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [March 16, 2018, 6:41pm UTC](https://community.localwp.com/t/enable-php-curl/5687/6 "2018-03-16T18:41:53Z")

</div>

Let’s see if we can get more info!

Can you attach a copy of your site logs? You can get those by right-clicking on the site in Local, select “Reveal in Finder”, and then compressing the `logs` folder. Here’s a screenshot to help demonstrate: [http://flywheel.link/3G26452E092M](http://flywheel.link/3G26452E092M)

Can you also provide your `local-by-flywheel.log` file? See  
"[How do I retrieve Local’s log file?](https://local.getflywheel.com/community/t/how-do-i-retrieve-locals-log-file/3720)" for instructions on how to do so.

Thanks!

---

<div class="post-metadata">

**Author:** ![turtlepod](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/turtlepod/32/5541_2.png) [@turtlepod](https://community.localwp.com/u/turtlepod)\
**Post date:** [March 17, 2018, 1:12am UTC](https://community.localwp.com/t/enable-php-curl/5687/7 "2018-03-17T01:12:57Z")

</div>

I alsknow get curl error

sometimes it can’t even connect, sometimes it get time out.

[https://local.getflywheel.com/community/t/curl-error-win10-not-solved/5651/2](https://local.getflywheel.com/community/t/curl-error-win10-not-solved/5651/2)

---

<div class="post-metadata">

**Author:** ![typhooneforrest](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/typhooneforrest/32/2991_2.png) [@typhooneforrest](https://community.localwp.com/u/typhooneforrest)\
**Post date:** [March 17, 2018, 9:45am UTC](https://community.localwp.com/t/enable-php-curl/5687/8 "2018-03-17T09:45:02Z")

</div>

Hi @ben.turner,

Is it okay to share these logs right here or is it better to send them in a PM to you?  
// Tony

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [March 19, 2018, 9:29pm UTC](https://community.localwp.com/t/enable-php-curl/5687/9 "2018-03-19T21:29:09Z")

</div>

There shouldn’t be anything sensitive in these files, unless you have some sort of logging that would be including sensitive information.

If you do post them here, there will be more eyes to look at it, and maybe offer suggestions, whereas if you DM me, it may take longer for me to get a chance to look at it.
