[BlueOnyx:17052] Re: JSON
Michael Stauber
mstauber at blueonyx.it
Fri Feb 13 17:44:04 -05 2015
Hi Richard,
> 5108R - Reports from a user that JSON isn't working. This has PHP
> 5.4.22-1 from Solarspeed installed.
That kinda depends. JSON itself is is just a tool or library that
provides JSON related functions. To use it from Perl or PHP you need
JSON support in these respective languages. For Perl there is the RPM
perl-JSON that can be installed via YUM.
For PHP the respective PHP version needs to be built with JSON support.
The Solarspeed PHP has JSON support. I don't know exactly since which
version, but PHP-5.4.36 has it:
[root at 5108r ~]# /home/solarspeed/php/bin/php -v
PHP 5.4.36 (cli) (built: Dec 24 2014 03:10:07)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.4.1, Copyright (c) 2002-2013, by
ionCube Ltd.
[root at 5108r ~]# /home/solarspeed/php/bin/php -m|grep json
json
Not sure about your older PHp-5.4.22. But you could try with this
command to check:
/home/solarspeed/php/bin/php -m|grep json
> I am seeing these errors in the adm_error log and
> wondered if it was related:
>
> [Fri Feb 13 16:59:09 2015] [error] [client 62.24.222.132]
> ServerScriptHelper.ServerScriptHelper(): Cannot authenticate to CCE (login
> name: , session ID: ), referer:
> http://www.xxxx.com/base/subdomains/vsite.php
No, that's not related at all.
--
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list