php - how to solve Uncaught exception solve in zend -


return array('db' => array('driver'=> 'mysqli','dsn'=> 'mysql:dbname=zend;host=localhost',),'service_manager' => array('factories' => array('zend\db\adapter\adapter' => 'zend\db\adapter\adapterservicefactory',),), ); 

code of global.php

i want solve error:

fatal error: uncaught exception 'zend\modulemanager\listener\exception\invalidargumentexception' message 'config being merged must array, implement traversable interface, or instance of zend\config\config. null given.

can please me solve want create page simple login page.also tell me database connection way , configuration way. i'm new zend.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -