reinstalled php 8.1 but always have the red cross in phpmon #161
Replies: 2 comments 7 replies
-
Hi @vdvcoder! Have you tried using First Aid & Services > Fix My Valet? This can fix issues that pop up after upgrading. You can also try Restart All Services under First Aid & Services. If you see a red cross, that usually means that the service is not running or has failed to start correctly. Sometimes the service will be running but the process reports itself as in an "error" state, as well. In those cases, you'll see a red cross. If you go into the terminal and run:
Which should give you some output like this: [
{
"name": "php",
"service_name": "homebrew.mxcl.php",
"running": true,
"loaded": true,
"schedulable": false,
"pid": 150,
"exit_code": 0,
"user": "root",
"status": "started",
"file": "/Library/LaunchDaemons/homebrew.mxcl.php.plist",
"command": "/opt/homebrew/opt/php/sbin/php-fpm --nodaemonize",
"working_dir": "/opt/homebrew/var",
"root_dir": null,
"log_path": null,
"error_log_path": "/opt/homebrew/var/log/php-fpm.log",
"interval": null,
"cron": null
}
] You should see more information about the service here, probably that it has failed to run correctly (under One of the things you can investigate is What version of Valet and PHP Monitor are you running, by the way? Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Hey @vdvcoder and @saineshmamgain (who confirmed he was seeing this too in #149) I'm pushing out a new bugfix build soon, please check if it fixes this issue -- it might: https://github.com/nicoverbruggen/phpmon/files/8520621/phpmon-522.zip You probably need to switch versions but after that the problem is hopefully fixed :) Let me know if that helped! |
Beta Was this translation helpful? Give feedback.
-
Hello,
I reinstalled PHP (brew install PHP (8.1.4)) but in phpmon it always shows the red cross.
Any ideas, what's wrong?
If I switch to [email protected] or [email protected] it's all checked.
Maybe a tip: adding a tooltip to those check/crosses to see what's wrong? Now, it doesn't say much what's good or not.
Beta Was this translation helpful? Give feedback.
All reactions