I just began learning PHP. I've installed php5
on Linux and wrote very simple code just to get going.
How can I run scripts? I tried using the -f
option, but it works as a cat
command and just spits out the code to standard output.
The interactive interpreter option works fine. Is a web browser the only way to execute a PHP script?