Home > Article > PHP Framework > How to solve the problem that the yii2 virtual machine cannot open gii
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.
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
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!