Can not use command line interpreter

command-line-interface, php, windows

Solution

Install this:

php5-readline

then try use:

php -a

Problem

I have tried to execute simple php code in the php interpreter. When I executed the command `php -a` I getting the message Interactive mode enabled Without any place for php input. But I can execute a php code through the command `php -r`. for example: `php -r "echo 'Hello stackoverflow!';"` Hello stackoverflow!

Original source