【发布时间】:2011-04-02 21:11:09
【问题描述】:
是否可以将 PECL 扩展添加到 Lampp 堆栈中?如果可以,怎么做?
我对@987654321@ 扩展特别感兴趣。
编辑:安装此扩展时使用:
/opt/lampp/bin/pecl install -f solr
除了结尾之外,一切都按原样进行:
checking for cURL support... yes, shared
checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
ERROR: `/tmp/pear/temp/solr/configure --enable-solr=yes --enable-solr-debug=no --with-curl=/opt/lampp/bin --with-libxml-dir=/usr' failed
据我了解,这应该意味着它只需要找到我在安装中指定的正确 curl 位置,当它询问为“opt/lampp/bin”时
这是否意味着如果不使用不同的 curl 包重新编译 php 就无法完成?这甚至可以通过 Lampp 堆栈实现,还是我现在必须自己构建?
有什么想法吗?
【问题讨论】:
标签: php ubuntu xampp pecl lampp