Answers

Question and Answer:

  Home  Internee PHP Developer

⟩ How to execute a PHP script from the command line?

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

php script.php

 170 views

More Questions for you: