-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php_curl missing and curl_exec deactivated #181
Comments
📌 REPRODUCTION RESULTS 📌 ACTIONS
|
We have another request on 8302777-zd-a8c This one was for the |
Support References This comment is automatically generated. Please do not edit it.
|
Another report here: 8350827-zd-a8c The user was trying to use the WPVivid plugin as well, which requires curl. Recommended the AIOWPM plugin in the meantime for exporting from Studio. |
Another request here: They want to be able to use the Starter Templates Plugin, but we aren't sure yet from the messaging whether cURL is required or just suggested. |
Bumping this to high priority because it's a pretty egregious issue. |
In this case, they are looking to develop a local plugin that uses cURL to extract data from an external CRM before deploying it to production. 8518441-zd-a8c |
Upstream issue about supporting libcurl in php-wasm: seanmorris/php-wasm#32 |
I changed the status to "Needs core / 3rd party fix" as we're blocked here. |
According to @adamziel in WordPress/wordpress-playground#1008 curl is currently only available in the CLI. |
@mpkelly Curl support was added for wp-now is currently using @php-wasm/node v0.6.16, which is not built with the curl extension. @sejas has already created a draft PR for upgrading wp-now to a newer @php-wasm/node release, saying:
It's not a straightforward upgrade as various API have been changed and, in some cases, consolidated. A couple of options are:
If updating wp-now, some useful reference points are:
|
Thank you very much for your comment!!! Problem is, that studio's Finally, I think that updating wp-now it will be good, as it will benefit wp-now in playground-tools repo as well ( we will apply the changes in there as well ) cc: @wojtekn |
Thanks for mentioning and working on this! That will be great for existing wp-now users. |
CURL was fixed by upgrading the Playground dependencies on #491 🥳 I tested it in
|
It's fixed in 1.1.1. |
hi, I get this error if I try to run curl against localhost:
|
@countfak thanks for the report. Would you mind sharing the code snippet? Did you try with |
@wojtekn I'm getting the same error with this is the code I'm using
|
@countfak thanks for sharing the snippet! I tested it, and I couldn't reproduce the issue with your snippet on Studio 1.1.2. It didn't show an error either for I also tried displaying downloaded content using another snippet, and it worked fine for me for both domain and IP:
I see your snippet uses the |
hey @wojtekn thanks for your help. maybe Studio is not able to access what lives "outside" of it? |
@countfak I've checked another snippet to fetch the license file in the Studio site from the site served by Local, and it worked fine:
|
This remains a mystery. I always get In my case, since I just need to return true or false whether I'm on localhost or not, I ended up doing a simple check on |
Quick summary
After installing the Podlove plugin, I get the error message, that php_curl is not installed and curl_exec is deactivated.
Steps to reproduce
Install Podlove and reload the window - https://wordpress.org/plugins/podlove-podcasting-plugin-for-wordpress/
What you expected to happen
Expected php_curl to be installed.
What actually happened
Impact
All
Available workarounds?
No but the app is still usable
Platform
Mac Silicon M1
Logs or notes
No response
The text was updated successfully, but these errors were encountered: