How can I enable readline for PHP 5.4 on Ubuntu 11.10?
- by dotweb
I installed PHP 5.4 on my Ubuntu 11.10 PC like this:
$ sudo add-apt-repository ppa:ondrej/php5
$ sudo apt-get update
$ sudo apt-get install php5
It's working fine but I don't have the readline function anymore that I need for my PHP CLI scripts. libreadline-dev is installed and readline was working perfectly in 5.3.
I also tried to compile 5.4…