Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Yii framework-based web application foundation
branch: development

This branch is 136 commits ahead of CoLTas:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

phundament 3.0-dev



  • PHP 5.3
  • Yii 1.1.8

Tested Systems

  • Mac OS X 10.6.8
  • Debian 5.0


  • BSD

Get it!

If you haven't done so already, get a fresh copy of Phundament 3:

git clone

git clone --recursive phundament

alternative: github download

Yii Framework

For running Phunament 3 you need to setup an standard Yii Web-Application skeleton. As Yii is currently not bundled with Phundament 3 you have to use an exisiting Yii Framework installation to perform this task.

You may download a copy of Yii here: or via git clone /path/to/yii

Database Setup

Create database and update credentials in config/main.php > components > db

edit phundament/protected/config/main.php

Setup Script

./phundament/protected/ "/path/to/yiic/command"

We'll use the existing yiic command to create the webapp skeleton. Note: This installation is therefore used by your Phundament 3 app.

Webapp Setup

Setup Script (recommended)

Anwser 'y' for yes when asked by running the setup script. Note: Do not overwrite existing files! Skip with 'Enter'.

Database Schema Setup

Setup Script (recommended)

Anwser 'y' for yes when asked by running the setup script.

Alternative: web-based installation

Go to http://localhost/phundament/index.php?r=p3admin Click on 'Manage' in the list of found modules to setup the database schemas. The following modules need a database schema: rights, user, p3widgets, p3media. Click on 'migrate up 1 step' to create the database tables.

Folder Permissions Setup

Setup Script (recommended)

Anwser 'y' for yes when asked by running the setup script.

Open your app



Installation Guide is for Linux, OS X, UNIX.

Q: Alternative yiic command? A: php5 -f ../yii-1.1.7.r3135/framework/yiic.php webapp .

Q: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION ...? A: adjust PHP path in yiic

Development Discussion

Best regards, schmunk

-- -

Something went wrong with that request. Please try again.