-
Notifications
You must be signed in to change notification settings - Fork 269
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
Error because of lack of cURL and allow_url_fopen #1008
Comments
I don't think I'm providing any new info here, but wanted to chime in that I have the same issue when adding a blueprint for SimplyRETS. We use cURL isn't enabled and
Really cool work so far though, I'm looking forward to this support. |
With my plugin, which also needs CuRL, I get a different message:
Seems like php extension CuRL is missing. |
Libcurl and stream wrappers are indeed not supported at the moment. This issue explores the challenge: To bring some good news, I got a basic |
I've extracted the HTTPS support, which is a pre-requisite to supporting libcurl, to a separate PR where it can be discussed and iterated on #1093. |
Yeah, we're going to need libcurl too for heavy adoption in WPVIP. |
@mhsdef libcurl is supported in Playground CLI now, we'll update this issue once it's also available in the browser. |
Enables the CURL PHP extension on playground.wordpress.net when networking is enabled. The heavy lifting was done in #1926. All this PR does is: * Enables the curl extension * Rebuilds PHP.wasm for the web * Enables curl_exec and curl_multiexec functions in web browsers * Unrelated – adds a JSPI vs Asyncify indication to the SAPI name so that we can easily learn which PHP.wasm build Playground is running. Related to #85 Closes #1008 ## Testing instrucions Confirm the new E2E tests are sound and that they work in CI. You could also try installing a CURL-reliant plugin such as Plausible and confirm it installs without the fatal errors reported in #1008
Curl is available in web browsers since #1935. I've confirmed the https://wordpress.org/plugins/plausible-analytics/ plugin installs cleanly – although that might also be thanks to their work after @jdevalk reported the crash. Either way, curl is in place! The typical web CORS limitations apply as all network calls are handled using |
When you try to use the Plausible WordPress plugin on the WordPress playground, you get the following fatal error:
With networking enabled, maybe
allow_url_fopen
should betrue
?I've also filed an issue with Plausible who should catch this fatal error.
The text was updated successfully, but these errors were encountered: