Nano's Blog

01/23/2010

Kohana Installation Tutorial

Filed under: programming — Tags: , , — nano @ 15:11

Step1.
Download kohana from : http://v3.kohanaphp.com (Version:3.0.3.zip);
Step2.
Uncompress kohana_3.0.3 and copy kohana folder to C:\xampp\htdocs and rename kohana to ‘home’
Step3.
start XAMPP apache service from XAMPP control panel
Step4.
Input: http://localhost/home/index.php
Show error below
cURL Enabled Kohana requires cURL for the Remote class.
Step5.
Open C:\xampp\php\php.ini file and remove ‘;’ from

extension=php_curl.dll in php.ini

Step6.
Restart Apache service.
Step7.
Input: http://localhost/home/index.php again.
Show Your environment passed all requirements.
Remove or rename the install.php file now.

Step8. Rename install.php to other_Name.php
input: http://localhost/home/index.php again.
Show Kohana_Request_Exception [ 0 ]: Unable to find a route to match the URI: home/index.php
Step9.
Open C:\xampp\htdocs\home\application\bootstrap.php
find

Kohana::init(array('base_url' => '/kohana/'));

Modify the /kohana/ to /home/
Step10.
input: http://localhost/home/index.php again.
Show hello, world!
congratulations!

Powered by WordPress