我在git上找到了3.1但system里没有文件就把3.3的system文件放里面了,无论怎样让咱们开始吧;php
把kohana放在个人wamp里的kohana31目录下,而后开启浏览器:git
一切ok,接下来重命名install.php文件或删除bootstrap
而后localhost:kohan31/index.php/welcome/hello浏览器
如何去掉index.phpurl
example.htaccess 重命名为.htaccess/----------------------spa
并修改其中为(kohana31为所在目录)it
# Installation directory
RewriteBase /
RewriteBase /kohana31/io
bootstrap.php /---------------------------------------------im
在bootstrap.php设置默认路径和url否则没法起做用命名
Kohana::init(array(
'base_url' => '/kohana31/',
));
Route::set('default', '(<controller>(/<action>(/<id>)))')
->defaults(array(
'controller' => 'welcome',
'action' => 'index',
));
而后咱们就能欢快的访问
localhost/kohana31/
丢掉index.php了