Can you provide an example of loading configuration files in PHP using Zend_Config from the Zend Framework?

When working with configuration files in PHP, using Zend_Config from the Zend Framework can provide a convenient way to load and access configuration settings. To load a configuration file using Zend_Config, you can use the Zend_Config_Ini class to parse an INI file and create a Zend_Config object that represents the configuration settings.

// Load configuration settings from an INI file using Zend_Config
$config = new Zend_Config_Ini('/path/to/config.ini', 'development');

// Access configuration settings
$databaseHost = $config->database->host;
$databaseUser = $config->database->username;
$databasePass = $config->database->password;

// Use the configuration settings in your application
$db = new Zend_Db_Adapter_Pdo_Mysql(array(
    'host'     => $databaseHost,
    'username' => $databaseUser,
    'password' => $databasePass,
    'dbname'   => 'my_database'
));