how to run PHP in command line?

Answers were Sorted based on User's Feedback



how to run PHP in command line?..

Answer / nikunj

For command line, we have to use php CLI(command line
interface).

Is This Answer Correct ?    36 Yes 6 No

how to run PHP in command line?..

Answer / vrushali

php MyFile.php

Is This Answer Correct ?    30 Yes 2 No

how to run PHP in command line?..

Answer / vel

We can run the php script in command line
php filename.php

Is This Answer Correct ?    30 Yes 7 No

how to run PHP in command line?..

Answer / ish

php -f myfile.php

:)

Is This Answer Correct ?    25 Yes 4 No

how to run PHP in command line?..

Answer / sean owens

you may need to know the version you need to run of php.
Usually in /usr/bin/php4 /usr/bin/php5 /usr/bin/php

Is This Answer Correct ?    12 Yes 3 No

how to run PHP in command line?..

Answer / guest

SAP(server app programe )is used to run

Is This Answer Correct ?    17 Yes 9 No

how to run PHP in command line?..

Answer / kanagaraj

Through PHP Parser , we can run PHP command line

Is This Answer Correct ?    14 Yes 6 No

how to run PHP in command line?..

Answer / vinay

If shows "'php' is not recognized as an internal or external
command operable program or batch file", then you must set
the Windows XP Environment Variable->PATH where your php.exe
file is like "C:/wamp/php;"

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More PHP Interview Questions

What is the purpose of $_ session?

0 Answers  


Which of the delimiter is ASP style?

0 Answers  


What is inheritance in php with example?

0 Answers  


how to count how many sundays in month?

6 Answers   Photon, SR, TCS,


What is file upload?

0 Answers  






What is the string concatenation operator in php?

0 Answers  


why did u want to leave your past organisation?

0 Answers  


Difference between get and post method.

0 Answers  


how many type of url?

1 Answers  


Is string php function?

0 Answers  


How to get best php developer Experience in Php with Sugar CRM / VTiger.

0 Answers  


How do you find the length of a string in php?

0 Answers  


Categories