No Prompt with PHP Interactive Mode

Oct 1, 2012 Gotcha

Getting It Fixed

On Debian, install the libreadline development package.

sudo apt-get install libreadline6-dev

On Yum based systems:

sudo yum install readline-devel

Then compile PHP with readline support:

./configure ... --with-readline=/usr

And you are all set!


comments powered by Disqus