How to close php-fpm on Mac: directly execute the [sudo pkill -INT -o php-fpm] command in the terminal. If we want to restart php, we can execute the [sudo php-fpm] command.
Specific method:
(Recommended video tutorial: php video tutorial)
Force close php-fpm
sudo pkill -INT -o php-fpm
Restart php
sudo php-fpm
(Related tutorial recommendations: php graphic tutorial)
PHP installed by mac brew can be opened using this
brew services start homebrew/php/php56
php installed by mac brew can be restarted using this
brew services reload homebrew/php/php56
The above is the detailed content of How to turn off php-fpm on mac. For more information, please follow other related articles on the PHP Chinese website!