簡體   English   中英

如何將Solr PECL擴展名添加到lampp(xampp)堆棧

[英]How to add Solr PECL extension into lampp (xampp) stack

是否可以將PECL擴展名添加到lampp堆棧中? 如果是這樣,怎么辦?

我對http://www.php.net/manual/zh/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”時

這是否意味着如果不使用其他curl包重新編譯php就無法完成? 使用lampp堆棧甚至可以做到這一點,還是我現在必須自己構建?

有任何想法嗎?

參見PHP:PECL擴展的安裝

還請看一下SOLR擴展模塊的要求: http : //docs.php.net/solr.requirements

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM