Issue with Valet+? #140
Replies: 4 comments
-
Valet+ is not supported, and that's why you're probably getting this error. I recommend that you switch to the official Valet distribution. PHP Monitor actually checks if your socket configuration is correct as expected, which it does here. That being said, you can work around this check by creating a For PHP 8.1, that would be:
If you are on Apple Silicon, you would need to run:
Again, repeat this for all PHP versions you're using (use the short version number, e.g. 8.1, 8.0, 7.4, etc.) and you should be fine. PHP 5.6 is a little bit more complicated and requires
Let me know if this helped. |
Beta Was this translation helpful? Give feedback.
-
Hi Nico, Thanks for the answer. I've created the valet-fpm.conf files. The application crashes after some seconds. I've added the DiagnosticReport in attachment. Maybe you see something? PHP Monitor-2022-02-16-113006.txt
Maybe because I'm using valet-php instead of php? |
Beta Was this translation helpful? Give feedback.
-
Ah yes, the way these different versions of PHP are handled in Valet+ is different from regular Valet, which is causing the crash. Sadly, there is no workaround for this... phpmon assumes you're using a regular Valet setup (with different services). There's just a few things that are wildly different in Valet+ that are simply incompatible with the app :/ If you'd like to use PHP Monitor I encourage you to try the regular Valet again, which has received plenty of features that were added to Valet+ initially. (If you depend on redis, mailhog etc., which are not integrated in PHP Monitor either, you can start those using Homebrew: e.g. |
Beta Was this translation helpful? Give feedback.
-
Okay, thank you for the information Nico! I'm mostly using Valet+ for the default MySQL integration, valet tower command & valet db create, valet db open commands. We can close this discussion. |
Beta Was this translation helpful? Give feedback.
-
Hi Nico,
I'm new to the PHP Monitor application. I'm using Valet+ for several years but I always wanted an interface like PHP Monitor. Looks very promosing. Everytime I start the application I'm receiving the following error. Do you have any idea why?
Everything is working perfect in my Valet+ environment. PHP, MySQL, Redis, ... . No issues at all. Any idea or do you want to help me debugging this one?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions