01 October 2012

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!

Tagged under interactive-mode, php, php, php-cli, php-interactive-mode, php5, and others
Mike Mackintosh

This post was written by Mike Mackintosh, a decorated security professional.




Related Posts