phpSettings.配置选项,例如
phpSettings.display_startup_errors = 1phpSettings.display_errors = 1
includePath相关配置
includePaths.library = APPLICATION_PATH "/../library"includePaths.zend = APPLICATION_PATH "/../../Library"
引导类的位置
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
引导类名称
bootstrap.class = "Bootstrap"
默认命名空间
appnamespace = "Application"
自定义命名空间
autoloadernamespaces.app = "App_"
是否显示异常
resources.frontController.params.displayExceptions
资源的配置
如果应用使用模块化方式
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"resources.modules[] =
自定义布局插件
resources.frontController.plugins.layout = Abc_Controller_Plugin_Layout
layout的文件目录
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"
默认的laytou
resources.layout.layout = default
自定义helper路径
复制代码 代码如下:resources.view.helperPath.App_View_Helper = APPLICATION_PATH “/modules/default/views/helpers”
设置sessiong
session.lifetime = 3600
设置时间
datetime.timezone = "Asia/Shanghai"datetime.format.date = "m-d-Y"datetime.format.datetime = "m-d-Y H:i:s"
数据库的配置
db.adapter = "pdo_mysql"db.prefix = "pre_"db.host = "localhost"db.port = "3306"db.dbname = "db"db.username = "root"db.password = ""db.charset = "utf8"
日志的配置
log.adapter = pdo_mysqllog.params.host = localhostlog.params.port = 3306log.params.username = rootlog.params.password = log.params.dbname = testlog.params.charset = utf8log.params.profiler.enabled = truelog.params.profiler.class = Zend_Db_Profiler_Firebug
更多关于zend相关内容感兴趣的读者可查看本站专题:《Zend FrameWork框架入门教学》、《php优秀开发框架总结》、《Yii框架入门及常用技巧总结》、《ThinkPHP入门教学》、《php面向对象程序设计入门教学》、《php+mysql数据库操作入门教学》及《php常见数据库操作技巧汇总》
您可能感兴趣的文章:
Zend Framework教学之Loader以及PluginLoader用法详解Zend Framework教学之Autoloading用法详解Zend Framework教学之Resource Autoloading用法实例Zend Framework教学之MVC框架的Controller用法分析Zend Framework教学之路由功能Zend_Controller_Router详解Zend Framework教学之Zend_Controller_Plugin插件用法详解Zend Framework教学之响应对象的封装Zend_Controller_Response实例详解Zend Framework教学之请求对象的封装Zend_Controller_Request实例详解Zend Framework教学之动作的基类Zend_Controller_Action详解Zend Framework教学之分发器Zend_Controller_Dispatcher用法详解Zend Framework教学之前端控制器Zend_Controller_Front用法详解Zend Framework教学之Application和Bootstrap用法详解
Zend Framework教程之配置文件application.ini解析【PHP】 | Zend Framework教程之配置文件application.ini解析【PHP】 ...