Before starting doing anything from this article, make sure that you already have installed:
Brew (https://brew.sh/)
PHP (any version)
Laravel-...
For further actions, you may consider blocking this person and/or reporting abuse
If you are a macOS user, ServBay.dev is worth to try. You don't need to spend some time or couple of days to setup anything. Just download it and you can use it immediately. You can run multiple PHP versions simultaneously and switch between them effortlessly.
Honestly, this tool has greatly simplified my PHP development and is definitely worth trying!
Thanks
I did ran:
rm -f ~/.config/valet/valet.sock && valet restart
but the 8.1 site worked while the 7.4 give me an error of Gateway.
and I noticed that I have only 1 socket file which is valet84.sock and no valet74.sock create.
Any thoughts?
Well you have to start every php you need to run. For example
i have followed all your steps but i'm facing 502 Bad Gateway Error.
are there sockets for alternative php versions created???
~/.config/valet/valet**.sock ???
valet72.sock, valet74.sock or so?
i managed to solve the issue. Thanks
there is no Nginx.config file present in ~/.config/valet/Nginx
Please upadte the article
Hello!
Did you secured your app with valet secure?
no i skip that step..
do i really need to secure app to get this working??
Yes, it would create Nginx configuration for your app
Here is the error image.