O'Reilly logo

Yii Rapid Application Development Hotshot by James R. Hamilton III, Lauren J. O'Meara

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Unpacking the Yii Framework

Once we add one final tool, Yii, we will initialize our project and load it into NetBeans. Adding some Yii-specific configuration to our project in NetBeans will expand the array of tools at hand to include Yii and PHPUnit.

Engage Thrusters

Before we go anywhere, we must grab a copy of Yii and place it where XAMPP can access it.

Installing Yii

  1. Download the latest version of Yii from http://www.yiiframework.com/ (currently 1.1.10).
  2. Unpack the Yii tarball.
    cd ~/Downloads
    tar xzvf yii-1.1.10.r3566.tar.gz
    
  3. Move the directory into the XAMPP root.
    sudo mv yii-1.1.10.r3566 /opt/lampp/htdocs/.
    
  4. Create a symbolic link from the version-named Yii directory, yii-1.1.10 in our example, to a directory named yii. (This step is not necessary, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required