xdebug-osx
xdebug-osx copied to clipboard
Issue with restarting php-fpm
I got this error when trying disable for the first time:
$ xdebug-toggle off
Xdebug has been disabled, restarting php-fpm
/Users/fred/Library/LaunchAgents/homebrew.mxcl.php70.plist: Could not find specified service
When looking at brew services list, this is the line for php-70:
php70 started root /Library/LaunchDaemons/homebrew.mxcl.php70.plist
Which macOS is this?
It's Sierra, 10.12.3.
I'm having trouble also restarting the plist you pointed out from the services list, via launchctl.
I think I'll fallback to just use brew services manager for restarting the service, which seems to automatically tap to and install if missing.
Can you try my last commit and see if that makes it work?
Using brew services restart php${php_version} works for me. Thanks!
Same here 🎉
Same problem here with PHP 7.1
xdebug-toggle on
Xdebug has been enabled, restarting php-fpm
/Users/JM/Library/LaunchAgents/homebrew.mxcl.php71.plist: Could not find specified service
You are running PHP v7.1 with Xdebug enabled
Running brew services restart php71 unfortunately didn't fix it
@sgtlambda is the php71.plist file the only one missing in that folder? I don't have FPM in my setup but that sounds like it should be there, unless it has changed?