Skip to content

Instantly share code, notes, and snippets.

@mgmgpyaesonewin
Last active August 5, 2019 06:19
Show Gist options
  • Save mgmgpyaesonewin/e25411c0f65336d9a2d4531d2868c672 to your computer and use it in GitHub Desktop.
Save mgmgpyaesonewin/e25411c0f65336d9a2d4531d2868c672 to your computer and use it in GitHub Desktop.
Linux useful cmd
sudo service php7.2-fpm restart
for display enabled php version in terminal by php -v. we need to set update cli version of php.
use below command to update php cli version
// change terminal (cli) version (7.2 to 7.1)
sudo update-alternatives --set php /usr/bin/php7.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment