A
A
allburov2014-11-17 09:54:40
PHP
allburov, 2014-11-17 09:54:40

How to fix a bug in php5-readline on Debian 7.7?

Good afternoon, colleagues. On Debian 7.7, Wheezy is not in the standard distribution of the php5-readline package. I decided to install according to the article: habrahabr.ru/post/198886/, everything was installed without errors, but when I run php -a it says:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/readline. so' - /usr/lib/php5/20100525/readline.so: undefined symbol: append_history in Unknown on line 0
PHP 5.4.34-0+deb7u1 (cli) (built: Oct 20 2014 08:50:30)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
allburov, 2014-11-17
@allburov

The problem was solved by connecting the repository to /etc/apt/sources.list
deb packages.dotdeb.org wheezy all

A
Anton Shamanov, 2014-11-17
@SilenceOfWinter

Here is the library itself and a description of the installation tiswww.case.edu/php/chet/readline/rltop.html . The manual may be outdated. Install the latest version of php (in the branch you are using) and readline - it is possible that there is a bug in the current version.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question