how to run PHP in command line?
Answers were Sorted based on User's Feedback
Answer / nikunj
For command line, we have to use php CLI(command line
interface).
Is This Answer Correct ? | 36 Yes | 6 No |
Answer / vel
We can run the php script in command line
php filename.php
Is This Answer Correct ? | 30 Yes | 7 No |
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 |
Answer / kanagaraj
Through PHP Parser , we can run PHP command line
Is This Answer Correct ? | 14 Yes | 6 No |
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 |
What is the purpose of $_ session?
Which of the delimiter is ASP style?
What is inheritance in php with example?
how to count how many sundays in month?
What is file upload?
What is the string concatenation operator in php?
why did u want to leave your past organisation?
Difference between get and post method.
how many type of url?
Is string php function?
How to get best php developer Experience in Php with Sugar CRM / VTiger.
How do you find the length of a string in php?