安装时提示错误,错误信息如下:已解决 悬赏5积分
19:57:53 Uncaught Exception: Could not gather sufficient random data in framework/base/router.class.php:825
Stack trace:
#0 framework/base/router.class.php(825): session_start()
#1 framework/base/router.class.php(374): baseRouter->startSession()
#2 framework/base/router.class.php(401): baseRouter->__construct('pms', '/kumquat/ZenTao...')
#3 www/index.php(30): baseRouter::createApp('pms', '/kumquat/ZenTao...', 'router')
#4 {main}
Next Exception: Could not gather sufficient random data in framework/base/router.class.php:825
Stack trace:
#0 framework/base/router.class.php(825): session_start()
#1 framework/base/router.class.php(374): baseRouter->startSession()
#2 framework/base/router.class.php(401): baseRouter->__construct('pms', '/kumquat/ZenTao...')
#3 /kumquat in framework/base/router.class.php on line 825 when visiting
禅道版本:11.5.stable
安装包类型:源码包
操作系统:CentOS
客户端浏览器:Firefox
🥂 找到php.ini文件,修改里面的session.save_path参数,将其设置为实际存在的路径(MAC系统Session放到application目录下)。如果是ntfs分区或者linux,还需要为其增加其他人的读写权限。然后重启php-fpm、webserver,然后重新安装。(selinux需要关闭)
回复
|