DIGIT-ARC read-only archive · snapshot: July 23, 2026

Is it possible to execute a PHP script using a command line?

2 posts · originally from https://geek.digit.in/community/threads/is-it-possible-to-execute-a-php-script-using-a-command-line.165546/

C
Clydebrown Original post #1
Oct 31, 2012 at 2:59 PM
Could you explain how to execute a PHP script using command line ?
nileshgr
Oct 31, 2012 at 7:17 PM
Code:
$ php foo.php