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

545 views
0

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

SimplyFreshers Answered question March 4, 2022
0

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

php script.php
SimplyFreshers Answered question March 4, 2022
You are viewing 1 out of 1 answers, click here to view all answers.