YII Framework Installation on XAMPP in PHP

Introduction 

Yii is a PHP framework for developing large-scale web applications rapidly.

Note: the Yii Framework does require PHP 5.1 or above. Yii is a free, open-source framework for PHP5.

Features

• High-performance framework.
• Model-View-Controller architecture.
• Integration with other frameworks. It's easy to use Zend or PEAR features in Yii.
 
Install XAMPP

If you do not have xammp then download XAMPP from the following site.

https://www.apachefriends.org/download.html.


Double-click the xammp icons. To open the xammp Control Panel and to start a button for Apache and MySQL see the following screen.

 
 
Install Yii framework
 
Step 1: Download the Yii framework from site.
 
Step 2: If you download it then extract the compressed files into the XAMPP htdocs folder. The path is given below:
xampp
 
Step 3: Run the framework and check the Yii requirements using the checker.
 
yii 
 
Step 4: The next step is to set up the environment variables.
From the Start menu right-click on Computer then seelct Properties > Advanced system settings. The System Properties window will be displayed.
 
property
 
Step 5: Click the Environment Variables button and the Environment Variables window will be shown.
 
 
 

Step 6: Open a cmd Command Prompt and run the following command.

 
 
Final step: To successfully install Yii in XAMPP, install it.

login

Up Next
    Ebook Download
    View all
    Learn
    View all