我已经使用 FASTCGI 运行 HHVM 3.0.1,使用 Symfony1.4 运行 Nginx
但是我从 HHVM 错误日志中得到以下错误:
\nNotice: Undefined index: 10 in /vagrant/SecureAccountsServices/lib/vendor/symfony/lib/routing/sfRoute.class.php on line 853
\nNotice: Undefined index: 10 in /vagrant/SecureAccountsServices/lib/vendor/symfony/lib/routing/sfRoute.class.php on line 853
\nNotice: Undefined index: 10 in /vagrant/SecureAccountsServices/lib/vendor/symfony/lib/routing/sfRoute.class.php on line 853
\nNotice: Undefined index: 10 in /vagrant/SecureAccountsServices/lib/vendor/symfony/lib/routing/sfRoute.class.php on line 853
\nNotice: Undefined index: 10 in /vagrant/SecureAccountsServices/lib/vendor/symfony/lib/routing/sfRoute.class.php on line 853
\nNotice: Undefined index: 10 in /vagrant/SecureAccountsServices/lib/vendor/symfony/lib/routing/sfRoute.class.php on line 853
\nFatal error: Failed to initialize storage module: user (path: ) in /vagrant/SecureAccountsServices/lib/vendor/symfony/lib/storage/sfDatabaseSessionStorage.class.php on line 73
奇怪的是,下面已经在 php.ini 中设置并用作 HHVM 的配置,Nginx 和 HHVM 守护程序都已重新启动
session.save_handler = files
session.save_path = /tmp
获得任何页面输出的唯一方法是ini_set(‘session.save_handler’, ‘files’);
before session_start();
为每个奇怪的存储类...</p>
发生这种情况有原因吗?