我試圖在PHP中包含或自動加載用於SOLR的Solarium,並且我不斷收到錯誤。我知道我做得不正確,但我是新來的自動加載。我有爲PHP安裝的擴展,並且工作。以下是錯誤我收到: Fatal error: Class 'Solarium\Client' not found in /Users/...
這是我的PHP文件的代碼我測試,我認識到,有在我的例子沒有自動加載設置,我是新來自動加載在如何使
我想使用日光浴運行使用solr索引數據的PHP代碼,我做了我的系統,它的工作正常,但是當我在我的同事的系統上運行我得到以下錯誤
Fatal error: Uncaught exception 'Solarium\Exception\RuntimeException' with message 'cURL is not available, install it to use the CurlH