1.第一種方式 systemctl restart php7.2-fpm.service systemctl status php7.2-fpm.service
2.第二種方式 找到php-fpm 進程id,殺死進程,重新啓動進程 (1)ps aux | grep php-fpm (2)kill -9 進程號 (3)/etc/init.d/php-fpm start
1.第一種方式 systemctl restart php7.2-fpm.service systemctl status php7.2-fpm.service
2.第二種方式 找到php-fpm 進程id,殺死進程,重新啓動進程 (1)ps aux | grep php-fpm (2)kill -9 進程號 (3)/etc/init.d/php-fpm start
https://stackoverflow.com/questions/419163/what-does-if-name-main-do