Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

ubuntu restart php

#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 by serverfault.com #
 
PREVIOUS NEXT
Tagged: #ubuntu #restart #php
ADD COMMENT
Topic
Name
7+3 =