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 many types of php frameworks are there?
How data or variable can be receive or send from PHP to HTML page??
Explain me differences between get and post methods?
How many php functions are there?
Which php function will attach one file to another?
How to send Email using PHP with MySQL in Linux Server?..
What are the benefits of using php and mysql?
What is an associative array?
what are Implode and Explode functions?
Name and explain five of the PHP error constants?
What is the use of count() function in php?
How many ways to include array elements in double-quoted strings using php?