Home  >  Article  >  PHP Framework  >  Where is the database configuration information of yii

Where is the database configuration information of yii

尚
Original
2020-01-11 14:42:072518browse

Where is the database configuration information of yii

Yii Framework is a component-based, high-performance PHP framework for developing large-scale web applications. Yii provides almost everything needed for today's Web 2.0 application development. Yii is one of the most efficient PHP frameworks.

yii’s public database configuration file is in /common/config/main-local.php

Generally, this one is enough. If the front and backend do not use the same one,

The frontend is in /frontend/config/main-local.php

The background is in /backend/config/main-local.php

Recommended learning: Yii introductory tutorial

The above is the detailed content of Where is the database configuration information of yii. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn