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

Issue with restarting php-fpm #12

Open
sjelfull opened this issue Mar 13, 2017 · 7 comments
Open

Issue with restarting php-fpm #12

sjelfull opened this issue Mar 13, 2017 · 7 comments

Comments

@sjelfull
Copy link

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
@w00fz
Copy link
Owner

w00fz commented Mar 13, 2017

Which macOS is this?

@sjelfull
Copy link
Author

It's Sierra, 10.12.3.

@w00fz
Copy link
Owner

w00fz commented Mar 17, 2017

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?

@glaubersp
Copy link

Using brew services restart php${php_version} works for me. Thanks!

@sjelfull
Copy link
Author

Same here 🎉

@sgtlambda
Copy link

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

@w00fz
Copy link
Owner

w00fz commented Jul 5, 2017

@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?

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

No branches or pull requests

4 participants