Cause: The default Gii under Linux can only be accessed through 127.0.0.1, which is local access, safe;
Solution: in conf/main-local .php add your own ip
Related tutorial recommendations: yii framework
As shown below:
For more programming-related content, please visit the Introduction to Programming column on the php Chinese website!
The above is the detailed content of yii cannot open gii under linux. For more information, please follow other related articles on the PHP Chinese website!