Skip to content

Instantly share code, notes, and snippets.

@chinmayrajyaguru
Created June 27, 2016 03:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chinmayrajyaguru/6a0facd9fc0ae6cf7205beee49005130 to your computer and use it in GitHub Desktop.
Save chinmayrajyaguru/6a0facd9fc0ae6cf7205beee49005130 to your computer and use it in GitHub Desktop.
Restart nginx, mysql & php7.0-fpm [LEMP Users]
#If you installed / updated / changed anything on live server then this might be helpful!
#test nginx
sudo nginx -t
#restart nginx, mysql & php7.0-fpm
sudo systemctl reload nginx
sudo service mysql restart
systemctl restart php7.0-fpm.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment