How to Run a PHP Script from the Terminal
· 3 min read
PHP is best known for web pages, but it runs from the terminal too, with no web server at all. php <file> runs a script, and the words you type after the file's name reach the script as arguments.
