Home  >  Article  >  Backend Development  >  Problem with readline.so

Problem with readline.so

WBOY
WBOYOriginal
2016-08-25 10:37:171323browse

apt-get install php5-readline
php5 -i |grep Readline
Readline Support => enabled
Readline library => EditLine wrapper
1. Which library does this EditLine wrapper refer to?
2. How to open readline.so?

find / -name 'readline.so*'
/usr/lib/php5/20131226/readline.so
/usr/lib/x86_64-linux-gnu/libreadline.so
/usr/lib/x86_64-linux -gnu/ruby/2.1.0/readline.so
/usr/lib/x86_64-linux-gnu/libguilereadline-v-18.so.18
/usr/lib/x86_64-linux-gnu/libguilereadline-v-18 .so
/usr/lib/x86_64-linux-gnu/libguilereadline-v-18.so.18.0.0
/usr/lib/python2.7/lib-dynload/readline.x86_64-linux-gnu.so
/ lib/x86_64-linux-gnu/libreadline.so.6.3
/lib/x86_64-linux-gnu/libreadline.so.6

I want php to open /usr/lib/php5/20131226/readline.so, what should I do?

Reply content:

apt-get install php5-readline
php5 -i |grep Readline
Readline Support => enabled
Readline library => EditLine wrapper
1. Which library does this EditLine wrapper refer to?
2. How to open readline.so?

find / -name 'readline.so*'
/usr/lib/php5/20131226/readline.so
/usr/lib/x86_64-linux-gnu/libreadline.so
/usr/lib/x86_64-linux -gnu/ruby/2.1.0/readline.so
/usr/lib/x86_64-linux-gnu/libguilereadline-v-18.so.18
/usr/lib/x86_64-linux-gnu/libguilereadline-v-18 .so
/usr/lib/x86_64-linux-gnu/libguilereadline-v-18.so.18.0.0
/usr/lib/python2.7/lib-dynload/readline.x86_64-linux-gnu.so
/ lib/x86_64-linux-gnu/libreadline.so.6.3
/lib/x86_64-linux-gnu/libreadline.so.6

I want php to open /usr/lib/php5/20131226/readline.so, what should I do?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn