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
This is what you should see:
# php -a Interactive shell php > echo 1+1; 2 php > echo PHP_VERSION; 5.3.2-1ubuntu4.14 php > exit #