> Upload the contents of kohana folder to your webserver.
application/bootstrap.php file for editing and make the following changes:
/** * Set the default time zone. * * @link http://kohanaframework.org/guide/using.configuration * @link http://www.php.net/manual/timezones */ date_default_timezone_set('Europe/Athens');
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 */ Kohana::init(array( 'base_url' => '/myweb/app/', ));
> Make sure the
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: