Question : ubuntu restart php-fpm
Answered by : alberto-peripolli
service php-fpm restart # typical
service php5-fpm restart # debian-style
service php7.0-fpm restart # debian-style PHP 7
service php7.2-fpm restart # debian-style PHP 7.2
service php7.4-fpm restart # debian-style PHP 7.4
Source : https://serverfault.com/questions/189940/how-do-you-restart-php-fpm | Last Update : Tue, 29 Dec 20
Question : ubuntu reload php
Answered by : asep-indra-kurniawan
#check version first
php --version
#status
service php7.4-fpm status
#restart
service php7.4-fpm restart
#reload
service php7.4-fpm reload
#force-reload
service php7.4-fpm force-reload
#start
service php7.4-fpm start
#stop
service php7.4-fpm stop
#or
/etc/init.d/php7.4-fpm restart
Source : | Last Update : Wed, 27 Apr 22