Comments (14)
You are not able to pass more than one request through the WP. Since WP treats the request as a global instance it will cache its values inside the config and other functions. This makes impossible to reuse already initiated application. This is caused by the fact that WP does not use any request/response abstraction.
from roadrunner.
Someone got it running under Swoole.
README in Wordpress-PSR/swoole
explains ideas that could (maybe) work for Roadrunner.
Non-trivial, experimental.
from roadrunner.
RoadRunner is not only a web server but an application server. This means you can move some of your functionality to golang and still serve the app using the classing PHP-FPM method.
In this case, it makes sense to move Blockchain communication methods to Golang.
On another end, RoadRunner does not require PSR-7 (you can use low-level HTTP protocol instead).
But it does require your application to be capable of running in stateless mode. Unfortunately, WordPress did everything it can to build architecture incapable of running in stateless mode.
from roadrunner.
Hey!
I don't think its possible to run WP behind RR. You need PSR7 compatible system.
About PHP installation - it can be any PHP version. As long as it runs from the console.
from roadrunner.
Ok. So it is not just for any PHP app. But for PSR7 .
I think this will not work for me.
Thank you.
from roadrunner.
Wordpress works with mysql ok. There is a lot of plugin for example,woocommerce or other similar ( mycred https://wordpress.org/plugins/mycred/ ) plugin saves transactions in mysql. Is it possible to use part with this db, that tables carrying transactions from mysql partly go into blockchain?
from roadrunner.
If you are talking about Golang to PHP SDK to communicate with blockchain - yes, it is possible.
from roadrunner.
If you are talking about Golang to PHP SDK to communicate with blockchain - yes, it is possible.
My site galonet.eu/wallet. It's a little harder to sign in because I put in double e-mail because of spammers. When you first sign up you get 8000 dolars, there are options to send to another user. I'd like to put that transaction in the blockchain.
from roadrunner.
You can implement it using Golang SDK, there are examples in roadrunner docs how to create your own service.
from roadrunner.
I don't think its possible to run WP behind RR. You need PSR7 compatible system.
...
Wordpress works with mysql ok.
I'm confused - RR does or does not require a strictly PSR7-compatible app, or can you run any PHP script with it?
from roadrunner.
Unfortunately, WordPress did everything it can to build architecture incapable of running in stateless mode.
I am not sure I understand. WP's only "state" mechanism is cookies. It doesn't use sessions, or anything else. How is this "incapable of running in stateless mode" claim determined?
from roadrunner.
Closing, because #64 (comment).
from roadrunner.
Is it available now ??
from roadrunner.
Is it available now ??
No, see comments above.
from roadrunner.
Related Issues (20)
- [๐ BUG]: Services directly killed when restarting or terminating HOT 4
- [๐ BUG]: Basic example does not work HOT 7
- Concurrent request problem in Laravel Octane HOT 7
- [๐ BUG]: Streaming responses can experience a lock-up when the client disconnects early HOT 5
- [๐ก FEATURE REQUEST]: HTTP log middleware separate configuration HOT 2
- [๐ BUG]: Region is missing from SQS endpoint URL when RR is running inside EC2 HOT 9
- [๐งน CHORE]: Rewrite multipart text values parsing algorithm
- [๐ BUG]: HTTP Queue gets too large HOT 16
- [๐ BUG]: Response status 200 instead of 500 in debug mode if php code fails HOT 4
- [๐ก FEATURE REQUEST]: Use Opentelemerty specific environment variables HOT 5
- [๐ BUG]: rabbitmq_redial error causes redial/retry logic to prematurely exit HOT 14
- [๐ก FEATURE REQUEST]: Log elapsed time always in microseconds HOT 9
- [๐ BUG]: RR cannot parse larger multipart form data HOT 6
- [๐ BUG]: unknown flag for long config options HOT 2
- [๐ BUG]: File uploads exceeding "upload_max_filesize" do not have the proper error code HOT 8
- [๐ก FEATURE REQUEST]: Temporal plugin healthcheck
- [๐ก FEATURE REQUEST]: `musl` arm64 binary `[blocked by GitHub ARM action runners]` HOT 4
- [๐ก FEATURE REQUEST]: RPC call to return all available storages HOT 4
- [๐ก FEATURE REQUEST]: Temporal: Provide some `sugar` for users to set the `Authorization` header
- [๐ BUG]: !BADKEY error on service name with dot (.) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roadrunner.