I m not any knowledge of YII framework just start work on YII . I want to install YII framework in my system . So please let me how i install .
相关问题
- How does the setup bootstrapper detect if prerequi
- Why doesn't php sleep work in the windows-subs
- Installing Pydev for Eclipse throws error
- Error building gcc 4.8.3 from source: libstdc++.so
- Installation of Leiningen 2.X in Mac OS X
相关文章
- 为什么nfs在不同版本的Linux下安装的文件都不一样
- Can you run console jobs from yii2-basic?
- Getting errors / failing tests when installing Pyt
- How do you make an installer for your python progr
- How to do a bulk database insert in Yii2?
- Installing the R interpeter and R as a shared libr
- Incompatible JavaHl library loaded
- Python - Node.js (V8) runtime is not available on
Download the yii zip file and unzip it. Then copy the unzipped folder to:
Then run the following command :
Done!!! Open your browser and type "localhost/anyname"
Download the YII framework from the website
Extract the folder in Downloads
Open the Terminal
sudo su (enter the password)
cd Downloads ls (the yii file will appear in that list)
mv yii /var/www (move that folder to www folder)
cd /var/www (check tht file is there by ls )
create a sample project
mkdir folder_name
cd /var/www
php yii/framework/yiic.php webapp /var/www/folder_name
create web application under '/var/www/folder_name' [yes][no]
type yes
Folder permission in terminal
sudo chmod 777 -R /var/www/one(folder name)
Download the YII framework from the website
Extract into htdocs
Come out of htdocs folder
Create a sampleproject folder and give 777 permission
In here i created test as a sample project
Type the following in termial
php yii/framework/yiic,php webapp /var/www/yii/test
[this is my location] It will ask to create project or not ,give yes
and in browser type localhost/yii/test
For More Details refer this below link
http://dcageek.blogspot.com/2013/04/how-to-install-yii-framework-on-ubuntu.html