欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

readline.so的问题

程序员文章站 2022-06-09 17:29:53
...
apt-get install php5-readline
php5 -i |grep Readline
Readline Support => enabled
Readline library => EditLine wrapper
1.这个EditLine wrapper究竟指哪个library?
2.如何开启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

我想让php开启/usr/lib/php5/20131226/readline.so,应当如何做?

回复内容:

apt-get install php5-readline
php5 -i |grep Readline
Readline Support => enabled
Readline library => EditLine wrapper
1.这个EditLine wrapper究竟指哪个library?
2.如何开启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

我想让php开启/usr/lib/php5/20131226/readline.so,应当如何做?

相关标签: php