I recently started to work with yii, where can i find the yii version of my yii app?
You can use getVersion()
of YiiBase
Yii::getVersion();
Answer:
In Linux, run ./yii in the base directory. In Windows, run yii.bat
. You will get something like:
./yii
This is Yii version 2.0.3.
The following commands are available:
[...]
Answer:
Add following line after require_once ($yii); in the index file
echo Yii::getVersion();
Answer:
From the framework folder and file “YiiBase.php”.
Find the function : getVersion()
Answer:
grep -A 5 getVersion framework/YiiBase.php
Answer:
You Can find Yii Version in
CHANGELOG – file In YII Install folder