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

I am getting this Php8.2-fpm is stopped... Nginx is stopped... #88

Open
rabiibrahimi opened this issue Mar 27, 2023 · 5 comments
Open

Comments

@rabiibrahimi
Copy link

rabiibrahimi commented Mar 27, 2023

When i run valet status i am getting this error:

Php8.2-fpm is stopped...
Nginx is stopped...

Anyone know why this is happening? i have followed all steps for installation but still not working, even when i try to ping a domain like ping foobar.test i get ping: foobar.test: Name or service not known

Any help would be appreciated. I am using WLS

@uttamrabadiya
Copy link
Collaborator

@rabiibrahimi
Could you please share your OS, and output for below commands:

sudo lsof -i -P | grep LISTEN
sudo systemctl status php8.2-fpm
sudo systemctl status nginx

@uttamrabadiya
Copy link
Collaborator

@rabiibrahimi
I've just initiated Slack workspace, maybe I can help to resolve this quickly on chat.

Thanks!

@rabiibrahimi
Copy link
Author

rabiibrahimi commented Apr 4, 2023

hey @uttamrabadiya

I have run the command and below output:

dnsmasq 18992 dnsmasq    5u  IPv4  56014      0t0  TCP *:53 (LISTEN)
dnsmasq 18992 dnsmasq    7u  IPv6  56016      0t0  TCP *:53 (LISTEN)
nginx   19098    root    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19098    root    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19099   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19099   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19100   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19100   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19101   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19101   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19102   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19102   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19103   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19103   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19104   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19104   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19105   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19105   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)
nginx   19106   rabii    8u  IPv4  56129      0t0  TCP *:80 (LISTEN)
nginx   19106   rabii    9u  IPv4  56130      0t0  TCP *:443 (LISTEN)

when running sudo systemctl status php8.2-fpm && sudo systemctl status nginx

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

I am using windows 11 pro ~ 64-bit os ~ OS build 22621.1413

any help will be appreciated.
Thanks

@rabiibrahimi
Copy link
Author

rabiibrahimi commented Apr 4, 2023

when i run service php8.0-fpm status instead of systemd then i get * php-fpm8.0 is running samething for nginx * nginx is running.

however when i run valet status i get below message:
Php8.0-fpm is stopped...
Nginx is stopped...

also when i run ping -c1 foobar.test
ping: foobar.test: Name or service not known

@uttamrabadiya
Copy link
Collaborator

@rabiibrahimi There are several compatibility issue with WSL as it is a sub-system, we are currently focusing on other OS, so once we get some free time we will focus on WSL support too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants