According to the Free Software Foundation [1] php CANNOT be legally linked to libreadline, because libreadline is licensed under the GPL and php is licensed under the php license.
[1] http://www.gnu.org/licenses/gpl-faq.html -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/230030 Title: php segfaults with readline To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/230030/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs