关于JsonSerializable的致命错误

hyt*_*omo 3 joomla3.1 php-5.5

虽然我有PHP 5.5.3和Joomla 3.1.5,但我收到此错误:

Fatal error: Interface 'JsonSerializable' not found in /var/www/joomla/libraries/joomla/registry/registry.php on line 22
Run Code Online (Sandbox Code Playgroud)

这是输出php --version:

PHP 5.5.3-1ubuntu2 (cli) (built: Oct  9 2013 14:49:24) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
    with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies
Run Code Online (Sandbox Code Playgroud)

Ray*_*Ray 5

你在使用Ubuntu 13.10吗?如果是这样,请尝试安装php5-json软件包.我想这对13.10来说可能是新的.

我有它和PHP v5.5.3到目前为止工作正常.有关使用Ubuntu 13.10(PHP v5.5.3)安装Joomla的某人的博客(不是我的),请参阅此链接.