Skip to content
Advertisement

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?

Advertisement

Answer

You have to type ctrl + C to exit.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement