Skip to content

Instantly share code, notes, and snippets.

@FellipePeixoto
Created October 2, 2020 13:00
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 FellipePeixoto/96ecf09280dade33ec5cfb4e6fb01c7c to your computer and use it in GitHub Desktop.
Save FellipePeixoto/96ecf09280dade33ec5cfb4e6fb01c7c to your computer and use it in GitHub Desktop.
From php 7.2 and above it is necessary to reload the php after any changes:
sudo systemctl start php-fpm
sudo systemctl stop php-fpm
sudo systemctl reload php-fpm
sudo systemctl restart php-fpm
$ sudo service php-fpm start # <- start it
$ sudo service php-fpm stop # <- stop it
$ sudo service php-fpm restart # <- restart it
$ sudo service php-fpm reload # <- reload it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment