Skip to content
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

Support XMLRPC PHP extension #628

Open
davidperezgar opened this issue Aug 24, 2023 · 4 comments
Open

Support XMLRPC PHP extension #628

davidperezgar opened this issue Aug 24, 2023 · 4 comments

Comments

@davidperezgar
Copy link
Member

Hello!
It's a wonderful project and I see that is the evolution for WP-ENV?. How could we set up the environment? Is it loads a .wp-env file or something similar?

I'm wondering becouse I'd need a PHP Extension called XMLRPC, and I don't know How could I installed in WP-NOW.
Thanks

@danielbachhuber
Copy link
Member

danielbachhuber commented Aug 24, 2023

Hey @davidperezgar,

Thanks for checking it out!

It's a wonderful project and I see that is the evolution for WP-ENV?. How could we set up the environment? Is it loads a .wp-env file or something similar?

At the moment, we're taking a slightly different approach to environment configuration. You can supply a --blueprint= argument to run a Blueprint when wp-now starts. Here is some more detail on supported arguments: https://github.com/WordPress/playground-tools/tree/trunk/packages/wp-now#arguments

I'm wondering becouse I'd need a PHP Extension called XMLRPC, and I don't know How could I installed in WP-NOW.
Thanks

wp-now doesn't yet support arbitrary PHP extensions, unfortunately. Here's some related discussion: #89

@sejas
Copy link
Collaborator

sejas commented Aug 24, 2023

@davidperezgar, To install new PHP extensions, we need to recompile the PHP enabling them.

Here is more information about how to recompile PHP wasm:
https://wordpress.github.io/wordpress-playground/architecture/wasm-php-compiling/#php-extensions

For the web is tricky because it's optimized to be downloaded light and fast. On the other hand, I don't see that blocker for node/wp-now

@davidperezgar
Copy link
Member Author

Thanks! I'll check it out!

@adamziel
Copy link
Collaborator

This is related to #655 and #89. Since the issue mentions a specific PHP extension (XMLRPC), let's use it to track work related to that extension.

@adamziel adamziel changed the title Support to PHP Extensions? Support XMLRPC PHP extension Oct 12, 2023
@adamziel adamziel mentioned this issue Nov 22, 2023
28 tasks
@adamziel adamziel added this to the PHP Feature Parity milestone Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

4 participants