1.出现以下错误一定要检查mysql的名字和密码 ,一个字母一个字母的查 。这个就是数据库报错

FATAL: Connection to Cacti database failed. Please ensure:

  • the PHP MySQL module is installed and enabled.

  • the database is running.

  • the credentials in config.php are valid.

修改内容(涉及一个文件,共两行数据):

2.然后修改以下文件
cacti配置文件  /www/wwwroot/cacti/include/config.php

72行注释,添加73行

#$url='cacti/';

$url_path='/';