After success install I'm getting the below error
NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/solr.so' - /usr/lib64/php/modules/solr.so: undefined symbol: php_json_decode_ex in Unknown on line 0
can any one help me out in this Issue ?
my server details are as:-
php : PHP 5.4.16 (cli) (built: Aug 11 2016 21:24:59)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologie
nginx: nginx version: nginx/1.10.1
When I'm executing this php -v
I'm getting the below message:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/solr.so' – /usr/lib64/php/modules/solr.so: undefined symbol: php_json_decode_ex in Unknown on line 0
PHP 5.4.16 (cli) (built: Aug 11 2016 21:24:59)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Best Answer
After doing a lot of experiments I finally fixed the issue. The solution is as below:
And create a file named
solr.ini
.Added this line:
And now I have to remove the above extension from the
php.ini
file and restartphp-fpm
That's all, worked for me.