Raja Swain
Query: 10 / Answer: 9

02nd Jun 2017 .

How do you execute a PHP script from the command line?


Answers

Ramesh Swain
Query: 11 / Answer: 23

02nd Jun 2017 .

Just use the PHP command line interface (CLI) and specify the file name of the script to be executed as follows:
 
 
php script.php
 

  •  Information
  • About Forum

    This educational forum is produly developed by betaQsolutions-A leading software company in Odisha. This forum is developed to discuss the educational topics only betweeen the Students, teachers, Parents & Experts. Topic related to Career, Syllabus, Subjects, Questions, Exams etc are allowed to discuss here.

  • Statistics

    Total topics 43 • Total Query 1115 • Total members 247 • Total Answered 1286