Interviewer And Interviewee Guide

PHP Community Marketing Expert Interview Question:

Explain how can we execute a PHP script using command line?

Submitted by: Muhammad
☛ 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.
Submitted by: Muhammad

Read Online PHP Community Marketing Expert Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.