Search code examples
phpmacoscommand-line-interface

Exit PHP from the CLI OSX


First of all, I am an EXTREMELY newbie in the PHP world. So I wanted to run a PHP web site in OSX installing php liip.

After that, I went to my terminal and I just type php (just to see what happends), but it opens a kind of text editor that I cant exit:

my cli

How can I close such thing?


Solution

  • You have to type ctrl + C to exit.