I have tried to execute simple php code in the php interpreter. When I executed the command php -a I getting the message
php -a
Interactive mode ena
Install this:
php5-readline
then try use: