Question: how to run php file?
Answer: Tell PHP to execute a certain file. ...  Pass the PHP code to execute directly on the command line.