我正在尝试使用日光浴室来运行使用 solr 索引数据的 php 代码,我已经在我的系统上完成了,并且它工作正常,但是当我在我同事的系统上运行时,我收到以下错误
致命错误:未捕获的异常 'Solarium\Exception\RuntimeException' 带有消息 'cURL 不可用,安装它以使用 CurlHttp 适配器' /var/www/app/webroot/kl/vendor/solarium/solarium/library/Solarium/Core/Client/Adapter/Curl.php:67 堆栈跟踪: #0 /var/www/app/webroot/kl/vendor/solarium/solarium/library/Solarium/Core/Configurable.php(77): Solarium\Core\Client\Adapter\Curl->init() #1 /var/www/app/webroot/kl/vendor/solarium/solarium/library/Solarium/Core/Client/Client.php(484): Solarium\Core\Configurable->__construct() #2 /var/www/app/webroot/kl/vendor/solarium/solarium/library/Solarium/Core/Client/Client.php(507): Solarium\Core\Client\Client->createAdapter() #3 /var/www/app/webroot/kl/vendor/solarium/solarium/library/Solarium/Core/Client/Client.php(796): Solarium\Core\Client\Client->getAdapter() #4 /var/www/app/webroot/kl/vendor/solarium/solarium/library/Solarium/Core/Client/Client.php(766): Solarium\Core\Client\Client->executeRequest(Object(Solarium\Core \客户端\请求),空) #5 /var/www/app/webroot/kl/ve 在 /var/www/app/webroot/kl/vendor/solarium/solarium/library/Solarium/Core/Client/Adapter/Curl.php 第 67 行
有人能帮助我吗 ?