Comments (8)
Yup, thanks for reporting this issue!
It's coming from this line, the path should be replaced with the one in the HOME
environment variable instead of using ~
😄
from rymfony.
Sorry for closing/reopening, I've just published an attempt to fix the issue (couldn't really reproduce it).
If you could retry it by downloading it (or rebuilding it with cargo build
after fetching all changes) it would be great!
from rymfony.
Thank you!
I didn't build it at first on my own.
I installed the Rust binary under the WSL environment, rebuilt the project from master then it works!
I have other issues that I will try to work on (this is certainly due to my messy environment 😅):
-> ERROR: [/home/dballandras/.rymfony/fpm-conf.ini:12] unknown entry 'systemd_interval'
It seems to not be supported by WSL by searching through Github.
If I rebuild the project without this line I can run the server with the following error spammed in the console.
ERROR: failed to retrieve TCP_INFO for socket: Protocol not available (92)
But I should fix this on my own since it's an error due to my environment even if I simply try it on standalone php-fpm -F -y ~/.rymfony/fpm-conf.ini
Thank you for your time 💯
from rymfony.
Thanks for the details about your issue with WSL1!
As I'm working on Windows too and I don't have WSL2, I'm going to look for a way to fix this. I also encountered the TCP_INFO error you mention, and I'm not yet sure to know where it comes from.
I'll look at this when I have more time, unless someone wants to check it out first, of course 😄
from rymfony.
@kayneth I added a basic check to deactivate systemd
support on MacOS. Due to a missing test env I am not able to verify a possible check for WSL (to deactivate it there as well).
But this crate or this code seems to do the trick. Maybe a WSL user could give it a try and adapt this check: https://github.com/Pierstoval/rymfony/pull/14/files#diff-95e26a75eee9a232f210ff2018e5d5c4R82-R83
from rymfony.
Hi @kevinpapst!
Thank you for this.
I will try to work on this.
Locally, on this WLS1 environment, I've added the script to check for WSL and to rebuild the binary. This is working properly.
I need to replace the script by a proper crate requirement and I will add a contribution with it. 👍
One more thing:
I will not be able to keep this WSL 1 environment after next friday. I will only have my personal WSL 2 environment. Then I won't be able to try it anymore on both. Unless it's easy to switch between those two versions. 😄
from rymfony.
@kayneth I'm waiting for your contribution, because I'm still using WSL1 😉
from rymfony.
As of the record, I noted that the FPM server doesn't work on my WSL1 setup.
I think it is caused by microsoft/WSL#2090 / microsoft/WSL#1982 , and Microsoft announced that it will never be fixed, so for some people, Rymfony on WSL1 will be unusable 😞
from rymfony.
Related Issues (20)
- [PHP] CGI server healthcheck HOT 1
- Forks cannot build with Github actions HOT 2
- [DOC] How to select the SAPI on serve comand HOT 2
- Error on request HOT 9
- [Windows] Unable to build HOT 4
- [windows] how to provide directory to find PHP HOT 2
- Issues with POST requests HOT 1
- Add RYMFONY_PATH information on command php:list HOT 4
- Rymfony with PHP7.3 cli on Linux HOT 15
- Error on PNG assets access HOT 2
- Autodetect app_dev.php entry_point
- Do not launch PHP if no entrypoint found HOT 2
- Check if PHP Binary exist before launch
- Unable to download binary file from PHP HOT 1
- Detect Systemd presence for php-fpm on *nix systems HOT 1
- PHP does not receive all Cookies sent in HTTP query
- Set-Cookie header lost in response HOT 1
- Handle root user HOT 3
- Tail logs to a file when server is run in the background HOT 1
- php:list on MacOS throws error HOT 3
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 rymfony.