我将这个添加到application.ini到section production
中resources.db.adapter = "pdo_mysql"
resources.db.params.dbname = "rzeki"
resources.db.params.host = "localhost"
resources.db.params.username = "root"
resources.db.params.password = ""
resources.db.params.charset = "utf8"
但是当我正在运行aplication时,我遇到了这个错误:
Stack trace:
#0 C:\Program Files\Zend\ZendServer\share\ZendFramework\library\Zend\Config\Ini.php(296): Zend_Config_Ini->_processKey(Array, 'params.dbname', 'rzeki')
#1 C:\Program Files\Zend\ZendServer\share\ZendFramework\library\Zend\Config\Ini.php(296): Zend_Config_Ini->_processKey(Array, 'db.params.dbnam...', 'rzeki')
#2 C:\Program Files\Zend\ZendServer\share\ZendFramework\library\Zend\Config\Ini.php(261): Zend_Config_Ini->_processKey(Array, 'resources.db.pa...', 'rzeki')
#3 C:\Program Files\Zend\ZendServer\share\ZendFramework\library\Zend\Config\Ini.php(153): Zend_Config_Ini->_processSection(Array, 'production')
#4 C:\Program Files\Zend\ZendServer\share\ZendFramework\library\Zend\Application.php(386): Zend_Config_Ini->__construct('C:\Program File...', 'production')
#5 C:\Program Files\Zend\ZendServer\share\ in C:\Program Files\Zend\ZendServer\share\ZendFramework\library\Zend\Config\Ini.php on line 294
我正在使用Netbeans + ZendServer CE
编辑:
当我在安装文件夹中安装digitalous,main index.php时:
警告:include_once(Digitalus \ Installer.php)[function.include-once]:无法打开流:没有这样的文件或 C:\ Program中的目录 Files \ Zend \ ZendServer \ share \ ZendFramework \ library \ Zend \ Loader.php on 第146行
警告:include_once()[function.include]:打开失败 'Digitalus \ Installer.php'包含在内 (include_path中=”; ./库; C:\程序 C:\ Program中的Files \ Zend \ ZendServer \ share \ ZendFramework \ library') Files \ Zend \ ZendServer \ share \ ZendFramework \ library \ Zend \ Loader.php on 第146行
致命错误:在C:\ Program中找不到类'Digitalus_Installer' 第19行的Files \ Zend \ Apache2 \ htdocs \ digitalus \ install \ install.php