Frameworks, Kohana, PHP

Kohana Installation

> Upload the contents of kohana folder to your webserver.
> Open application/bootstrap.php file for editing and make the following changes:

Change Timezone

 * Set the default time zone.
 * @link
 * @link

Set the base_url
to reflect the location of the kohana folder on your server relative to the document root.

 * Initialize Kohana, setting the default options.
 * The following options are available:
 * - string   base_url    path, and optionally domain, of your application   NULL
 * - string   index_file  name of your index file, usually "index.php"       index.php
 * - string   charset     internal character set used for input and output   utf-8
 * - string   cache_dir   set the internal cache directory                   APPPATH/cache
 * - integer  cache_life  lifetime, in seconds, of items cached              60
 * - boolean  errors      enable or disable error handling                   TRUE
 * - boolean  profile     enable or disable internal profiling               TRUE
 * - boolean  caching     enable or disable internal caching                 FALSE
 * - boolean  expose      set the X-Powered-By header                        FALSE
	'base_url'   => '/myweb/app/',

> Make sure the application/cache and application/logs directories are writable by the web server.

> Test your installation by opening the URL you set as the base_url in your favorite browser.


You should see the installation page. If it reports any errors, you will need to correct them before continuing. Once your install page reports that your environment is set up correctly you need to either rename or delete install.php in the root directory. Kohana is now installed and you should see the output of the welcome controller: hello, world!