0
是否可以将PECL扩展添加到lampp堆栈中?如果是这样,该怎么办?如何将Solr PECL扩展添加到lampp(xampp)堆栈中
我特别感兴趣的是http://www.php.net/manual/en/book.solr.php的扩展。
编辑:
/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
据我所知这应该意味着它仅仅需要找到正确的卷曲位置,我在安装时指定为'opt/lampp/bin'
这是否意味着它不能在没有重新编译php的情况下使用不同的卷发包?这是甚至可能与一个lampp堆栈,或者我现在必须建立自己的?
任何想法?
所以同样的技术适用于LAMPP堆栈因为它没有单独建堆? – user103219 2010-08-23 21:31:46
是的,在这两种情况下都是:找到兼容的二进制文件.so/.dll或自己编译扩展模块。 phpinfo()可以告诉你哪些./configure开关已经被用来构建php-core。 – VolkerK 2010-08-24 05:33:37
@ user103219我有同样的错误..我不明白你们是如何解决这个问题的。你能解释一下吗?谢谢 – 2012-02-17 09:48:13