![yii在linux下打不开gii](https://img.php.cn/upload/article/000/000/041/5e4b894c647c5284.jpg)
原因:linux下面默认的Gii只能通过127.0.0.1来访问,也就是本机访问,安全;
解决:在conf/main-local.php添加自己的ip
相关教程推荐:yii框架
如下图所示:
![1582008718987718.png e7a2f7f079fc0d7b8484ce9d2a7d419.png](https://img.php.cn/upload/image/390/861/928/1582008718987718.png)
更多编程相关内容,请访问php中文网编程入门栏目!
Atas ialah kandungan terperinci yii在linux下打不开gii. Untuk maklumat lanjut, sila ikut artikel berkaitan lain di laman web China PHP!