我目前正在尝试在Linux16.04上安装CDash 2.4.0。首先,我下载了最新的版本:
cd /var/www/html
sudo git clone https://github.com/Kitware/CDash.git然后我创建了config.local.php:
cd /var/www/html/CDash/config
sudo cp config.php config.local.php之后,我删除了/*后的代码*/,并添加了MySQL数据库的密码。
我还使用以下命令创建了cdash用户:
$ mysql -u root -p
<HERE YOU TYPE YOUR MYSQL ROOT PASSWORD>
mysql> create database cdash;
mysql> create user 'cdash'@'localhost' identified by '<YOUR_PASSWORD_GOES_HERE>';
mysql> grant all privileges on cdash.* to 'cdash'@'localhost' with grant option;文档指出,在完成这些步骤之后,我应该能够注册打开/localhost/CDash/install.php,但我看到的只是一个空白页面。
我已经检查过我是否没有安装文档中看到的任何php扩展,但事实并非如此。
提前感谢您的解决方案。
发布于 2017-08-04 12:01:52
将CDash安装上移至/var/www ( /var/www/CDash )目录
创建到CDash/public的软链接( ln -s /var/www/CDash/public /var/www/html/CDash )
除了作为依赖项列出的包之外,还要安装php-mbstring包。
然后在浏览器中转到host/CDash/install.php。
我今天才弄明白这个问题:)
https://stackoverflow.com/questions/41569143
复制相似问题