Just run the PHP CLI (Command Line Interface) program and provide the PHP script file name as the command line argument. For example, "php myScript.php", assuming "php" is the command to invoke the CLI program.
Liked By
Write Answer
How can I execute a PHP script using command line?
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
18-Mar-2011