Skip to content

Instantly share code, notes, and snippets.

@fasthold
Last active December 27, 2015 23:49
Show Gist options
  • Save fasthold/7408735 to your computer and use it in GitHub Desktop.
Save fasthold/7408735 to your computer and use it in GitHub Desktop.
MongoDB configurations for Zend Framework Skeleton
<?php
return array(
'environment' => 'development',
'database' => array(
'adapter' => 'mongodb', // set to 'mongodb'
/** @see http://cn2.php.net/manual/en/mongoclient.construct.php */
'params' => array(
'connection_string' => 'mongodb://localhost:27017',
'dbname' => 'wow',
'options' => array('connect' => false),
),
),
'blowfish_secret' => 'PLEASE-CHANGE-THIS',
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment