インストール手順

この関数を使用するには、readline サポートを有効にして CGI 版または CLI 版の PHP をコンパイルする必要があります。PHP の configure に --with-readline[=DIR] を指定する必要が あります。readline の代替品である libedit を使用したい場合、PHP の configure に --with-libedit[=DIR] を指定してください。

Windowsでは、この拡張モジュールは PHP 7.1.0からデフォルトで利用可能です。

add a note add a note

User Contributed Notes 2 notes

up
-12
kevin_tm at yahoo dot com
8 years ago
If you missed that argument when initially installing php5 and want to add it after the fact, this is all you need:

sudo apt-get install php5-readline
up
-24
rs at income dot cz
9 years ago
Use dotdeb. It's like 1 minute work.

Follow https://www.dotdeb.org/instructions/

Do only points 1,3,4 (omit 2)

and then
sudo apt-get install php5-readline
To Top