GithubHelp home page GithubHelp logo

Comments (8)

Pierstoval avatar Pierstoval commented on August 25, 2024

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.

Pierstoval avatar Pierstoval commented on August 25, 2024

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.

kayneth avatar kayneth commented on August 25, 2024

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.

Pierstoval avatar Pierstoval commented on August 25, 2024

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.

kevinpapst avatar kevinpapst commented on August 25, 2024

@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.

kayneth avatar kayneth commented on August 25, 2024

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.

Pierstoval avatar Pierstoval commented on August 25, 2024

@kayneth I'm waiting for your contribution, because I'm still using WSL1 😉

from rymfony.

Pierstoval avatar Pierstoval commented on August 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.