Environment: System environment: CentOS6.5yii version: 1.1.15PHP version: php5.3apache: httpd2.2 I. introduction YiiFramework is a high-performance PHP framework based on components for developing large Web applications. Yii provides almost all the functions required for today's web application development. Yii is one of the most efficient PHP frameworks. For details, refer to Baidu Encyclopedia. Official website: http
Environment:
System environment: CentOS 6.5
Yii version: 1.1.15
PHP: php 5.3
Apache: httpd 2.2
I. INTRODUCTION
Yii Framework is a high-performance PHP Framework based on components for developing large Web applications. Yii provides almost all the functions required for today's Web 2.0 application development. Yii is one of the most efficient PHP frameworks. For details, refer to Baidu Encyclopedia. Official website is: http://www.yiiframework.com/
II. install and configure yii in Linux
1. install
- Wget http://down.shshenchu.com/yii-1.1.15.022a51.tar.gz # download files
- Tar-zxvf yii-1.1.15.022a51.tar.gz # Extract Files
2. I have created a website that supports php, file directory/Web/yii/public_html/, and the domain name is yii.zhanghong.org.cn.
- Cp-R framework // Web/yii/public_html/
- Framework/yiic webapp/Web/yii/public_html/
The prompt "Create a Web application under"/Web/yii/public_html "is displayed '? (Yes | no) [no]: Enter yes and press enter to start the installation and copy of the file. the Message "Your application has been created successfully under/Web/yii/public_html" appears. "indicates that the installation is successful.
- Chown www. www-R *
Access yii.zhanghong.org.cn in the browser. if the following page is displayed, yii is successfully installed.