I'm new to php and wanted to run php from command line. I have installed WAMP and set the "System Variables" to my php folder ( which is C:\wamp\bin\php\php5.4.3
).
When i go to Run
-> CMD
-> Type php -a
and hit enter, it says interactive mode enabled
. But when I write echo 'Hi';
it shows nothing.
I even don't see anything like 'php >" when i type php -a
and hit enter.