Home > PHP Framework > YII > yii2 cannot access gii under linux

yii2 cannot access gii under linux

王林
Release: 2020-02-27 11:22:16
Original
2011 people have browsed it

yii2 cannot access gii under linux

Cause:

Because the default Gii under Linux can only be accessed through 127.0.0.1, that is, local access;

Solution:

(Related tutorials recommended: yii framework)

Just add your own IP in conf/main-local.php, as follows:

yii2 cannot access gii under linux

For more programming-related content, please pay attention to the Programming Introduction column on the php Chinese website!

The above is the detailed content of yii2 cannot access gii under linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template