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 ena
There seems to be a compilation / linkage error between your PHP and libreadline. This is documented in PHP Bug #48759.
make clean
before your final build?php -m
list readline as enabled feature? (Is PHP built with option --with-readline
)