I have installed pecl/solr using command,
pecl install solr
and pear using
wget http://pear.php.net/go-pear.phar
php go-pear.phar
After Restart Apache, i am still getting error
Fatal error: Class 'SolrClient' not found
on php code
$client = new SolrClient($options);
Can any one please describe step by step installation of pecl/solr extension on Centos.
Just to simplify the procedure:
pear install pecl/solr
OR
pecl install -n solr
echo "extension=solr.so" > /etc/<Your php ini path>/php.ini
Service httpd/apache2 restart
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With