Home Answers Viewqa PHP How can I execute a PHP script using command line?

 
 


brijesh
How can I execute a PHP script using command line?
1 Answer(s)      2 years and 7 months ago
Posted in : PHP

How can I execute a PHP script using command line?

View Answers

November 13, 2010 at 5:36 PM


Hi all,

By using CLI ( command line interface)

On command prompt type : php filename

for example: php helloworld.php

Thanks









Related Pages:
php