Yii is a PHP framework that allows you to develop applications more quickly and easily. Installing Yii on Ubuntu is straightforward, as you will learn exactly how in this article.
This guide assumes that you already have a web server, PHP installed, and that you know your web root path (e.g.
Step 1: Downloading Yii
Navigate to your web root path:
Download Yii by using
In order to unzip the file, we'll need to install the unzip tool:
apt-get install unzip
Step 2: Creating an application
Yii can create the base of an application for you. In order to do this, execute:
php yii-1.1.13.e9e4a0/framework/yiic webapp ApplicationName
ApplicationName with a sufficient name for your application. This will generate a new application.
In your web browser, navigate to
You will see a homepage here which Yii has generated. You can login with the username and password
Congratulations! You now have your first Yii application setup.
Link - 淘实惠-使用采购网站
This article was created by DieDie
This work is licensed under a Creative Commons Attribution 4.0 International License.
This article source Setting Up A Yii Application on Ubuntu 14.04
Last Modified Mar 10, 2019 at 12:55 am