Home> PHP Framework> YII> body text

How to solve the problem that the yii2 virtual machine cannot open gii

藏色散人
Release: 2020-07-20 11:09:46
Original
2754 people have browsed it

The yii2 virtual machine cannot open gii because the default Gii under Linux can only be accessed through "127.0.0.1". The solution is to add your own IP in "conf/main-local.php". Can.

How to solve the problem that the yii2 virtual machine cannot open gii

yii2 cannot enable gii under linux

Reason:

The default Gii under linux It can only be accessed through 127.0.0.1, which is local access, safe;

Solution:

Add your own ip in conf/main-local.php

How to solve the problem that the yii2 virtual machine cannot open gii

Recommended: "yii tutorial"

The above is the detailed content of How to solve the problem that the yii2 virtual machine cannot open gii. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!