OpenTBS不能在Ubuntu 14.04和PHP5.5.9上工作


OpenTBS not working on Ubuntu 14.04 with PHP5.5.9

我使用的是openTBS 1.9.4版本,在PHP5.5.9的ubuntu 14.04上输入链接说明。当我使用这个应用程序时,我发现了问题发生的地方。

// Include classes
include_once('tbs_class.php'); // Load the TinyButStrong template engine
include_once('../tbs_plugin_opentbs.php'); // Load the OpenTBS plugin
// prevent from a PHP configuration problem when using mktime() and date()
if (version_compare(PHP_VERSION,'5.1.0')>=0) {
    if (ini_get('date.timezone')=='') {
        date_default_timezone_set('UTC');
    }
}
// Initialize the TBS instance
$TBS = new clsTinyButStrong; // new instance of TBS

我在创建实例TBS时面临的问题,它在chrome浏览器上抛出以下错误。

No data received
ERR_EMPTY_RESPONSE

但是我在WAMP2.5和PHP5.5.12上尝试了相同的openTBS版本1.9.4,它正在工作。我还尝试了相同的openTBS版本1.9.4在rhel -7.1 . 1_hvm_ga与PHP5.4.16,它的工作

据我所知,我在php上配置了xcache,它不起作用。当我试图删除xcache参数"xcache。

从On到Off

xcache.ini

xcache.cacher =               Off