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 |
How to support multiple-page forms?
How long is csrf token?
How to invoke a user function?
How is session id stored in browser?
what is the best function that can be used to connect to mysql database and in what cases that we can use below functions ? 1. mysql_connect() 2. mysql_pconnect() please give your answer with all pros and cons
How do I use isdigit function?
What is difference between echo and print in php?
Explain me what is the importance of "method" attribute in a html form?
Explain me differences between get and post methods?
How to convert any type of video formate in flv formate in php can any buddy give me coding.
What is mvc in php?
Is gender a dependent variable?