|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71076 REPL arrow history navigation problem
Submitted: 2015-12-09 21:06 UTC Modified: 2015-12-19 13:31 UTC
From: miraagewow at gmail dot com Assigned:
Status: Closed Package: CGI/CLI related
PHP Version: 7.0.0 OS: Ubuntu 14.04
Private report: No CVE-ID: None
 [2015-12-09 21:06 UTC] miraagewow at gmail dot com
"php -a" and other REPLs (e.g. Psysh) are having issues with history navigation.
Once some command is entered, arrow history navigation results in (example for up/down arrows):



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-10 00:57 UTC]
-Status: Open +Status: Feedback
 [2015-12-10 00:57 UTC]
Looks ok here on Ubuntu and Debian. How did you build your PHP 7? Did you compile in readline support?
 [2015-12-10 09:28 UTC] miraagewow at gmail dot com
I've installed from famous PPA
 [2015-12-19 13:31 UTC] miraagewow at gmail dot com
-Status: Feedback +Status: Closed
 [2015-12-19 13:31 UTC] miraagewow at gmail dot com
Solution was found. I was missing php-readline extensions. After I've installed it - works awesome.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Aug 04 03:01:24 2021 UTC