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

  • : 382
  • : 8
    Previous Next

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

    you can suggest other answer in comment box

  • Exam: PHP Interview QUESTIONS

    Subscribe here for free mock test on IAS PCS SSC and other competitive exam. Signup here to get SSC CGL Solution and main exam study material