Skip to content

Instantly share code, notes, and snippets.

@devdrops
Created August 11, 2016 13:22
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save devdrops/c96c87dc3f32f6f3d2132ed89c227913 to your computer and use it in GitHub Desktop.
Save devdrops/c96c87dc3f32f6f3d2132ed89c227913 to your computer and use it in GitHub Desktop.
Restart PHP-FPM on Mac

Restart PHP-FPM on Mac

as found on StackOverflow

And this command to restart my php-fpm:

brew services restart php56

If you don't have brew services, try installing it like this:

brew tap homebrew/services
@semihcosu
Copy link

semihcosu commented Jun 19, 2019

Newer php packages on brew are named like php@7.2, so you can run:

brew services restart php@7.2

Also you can use this command to list and see which version(s) you have installed:

brew services list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment