PHP Community Marketing Expert Question:
Download Job Interview Questions and Answers PDF
Explain how can we execute a PHP script using command line?
Answer:
☛ Just run the PHP CLI (Command Line Interface) program and provide the PHP script file name as the command line argument. For example, “php myScript.php”, assuming “php” is the command to invoke the CLI program.
☛ Remember that if your PHP script was written for the Web CGI interface, it may not execute properly in command line environment.
☛ Remember that if your PHP script was written for the Web CGI interface, it may not execute properly in command line environment.
Download PHP Community Marketing Expert Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell us why did you choose this particular career path? | Tell me how comfortable are you with writing HTML entirely by hand? |