NGINX:
nginx -s reload
# or
service nginx restart
# or
/etc/init.d/nginx restart
# or
systemctl restart nginx
Code language: Bash (bash)
Apache:
apache2ctl restart
# or
/etc/init.d/apache2 restart
Code language: Bash (bash)
PHP-FPM:
/etc/init.d/php-fpm restart
# or
/etc/init.d/php7.2-fpm restart
# or
service php-fpm restart
# or
service php5-fpm restart
# or
service php7.0-fpm restart
# or
restart php-fpm
# or
service php-fpm restart
Code language: Bash (bash)
Leave a Reply