WordPress/wordpress-playground

Support XMLRPC PHP extension

davidperezgar opened this issue · 4 comments

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

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 commented

@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

Thanks! I'll check it out!

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.