How can I execute a PHP script using command line?

Ads

 
 

Share on Google+Share on Google+

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

How can I execute a PHP script using command line?

Ads
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


Ads









Related Tutorials/Questions & Answers:
Advertisements