Quite new to this, can anyone tell me how to configure JSON support for PHP on a CentOS 6 system running ART 3?
./configure is showing "--disable-json" on phpinfo() when PHP is running as an Apache module. It seems to have "--enable-json=shared" when running as Fast-CGI??
Not sure where to start or how to get round this. I've tried installing JSON through pecl but that doesn't work as it comes back with
Code: Select all
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/json.so' - /usr/lib64/php/modules/json.so: undefined symbol: ZVAL_DELREF in Unknown on line 0
I'm a bit stuck really and not sure where to go, seems that I'm going in circles as almost all JSON tutorials point me to install via PECL but that doesn't seem to work. I haven't recompiled PHP before and this is a live server so I'm nervous about bringing the whole thing to a grinding halt and would love some guidance.
Thank you in advance
Andy