← Back to team overview

ius-coredev team mailing list archive

Re: [Question #198150]: php53u-cli missing readline support

 

Question #198150 on IUS Community Project changed:
https://answers.launchpad.net/ius/+question/198150

    Status: Open => Answered

Jeffrey Ness proposed the following answer:
According to the PHP libedit replaces readline:

$ ./configure --help | egrep "libedit|readline"
  --with-libedit[=DIR]    Include libedit readline replacement (CLI/CGI only)
  --with-readline[=DIR]   Include readline support (CLI/CGI only)

I do show readline() is still available by means of the libedit compile:

# php
<?php
print 'Enter name: ';
$name = readline();
print "Welcome $name";
?>

Enter name: Jeff
Welcome Jeff

-----

-- 
You received this question notification because you are a member of IUS
Core Development, which is an answer contact for IUS Community Project.