Ubuntu – Execute a PHP 5 Script From the Command Line
To execute a PHP script from the command line in Ubuntu you must have php5-cli installed. (CLI stands for “Command Line Interface”.) Once cli is installed, you can execute your script like so: Inside the script you can run other Continue reading Ubuntu – Execute a PHP 5 Script From the Command Line