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

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


Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in D:\webserver\www\vcampusbd.com\answers\column_answer_two.php on line 128
+ Report
Total Preview: 783
How do you execute a PHP script from the command line?
Copyright © 2024. Powered by Intellect Software Ltd