Skip to content

Instantly share code, notes, and snippets.

@diter14
Last active March 28, 2019 22:45
Show Gist options
  • Save diter14/b8ada911d7f39522640766d5155f2bf4 to your computer and use it in GitHub Desktop.
Save diter14/b8ada911d7f39522640766d5155f2bf4 to your computer and use it in GitHub Desktop.

Kill localhost server on Mac

  lsof -i :8000
  kill -9 <PID>

You can replace :8000 with the port that you are using

Find php.ini in any OS

  php -i | grep php.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment