Configure Phalcon

Navigate to my-project/app/config/config.php and configure your database connection:

phpCopy code<?php

return [
    'database' => [
        'adapter'  => 'Mysql',
        'host'     => 'localhost',
        'username' => 'root',
        'password' => 'password',
        'dbname'   => 'my_database',
    ],
    'application' => [
        'controllersDir' => __DIR__ . '/../controllers/',
        'viewsDir'       => __DIR__ . '/../views/',
        'baseUri'        => '/',
    ]
];

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *