This is my little experiment using kohanaphp, so what we need to using this framework absolutely Webserver support Php5 (ex: Apache). Fisrt i want to use this framework just for one location, this is my step by step (FYI i use WAMP server) :
- download kohanaphp from http://kohanaphp.com
- extract kohanaphp to your web server directory (C:\wamp\www\ so become C:\wamp\www\kohanaphp)
- edit C:\wamp\www\kohanaphp\application\config\config.php
$config['site_domain'] = '/kohanaphp/';
to
$config['site_domain'] = 'localhost/kohanaphp/'; - browse to address http://localhost/kohanaphp/
- extract kohanaphp to your directory (c:\wamp\www\ so become c:\wamp\www\kohanaphp)
- move c:\wamp\www\kohanaphp\system to c:\kohana\system
- copy c:\wamp\www\kohanaphp to c:\wamp\www\kohanaphp1
- copy c:\wamp\www\kohanaphp to c:\wamp\www\kohanaphp2
- copy c:\wamp\www\kohanaphp to c:\wamp\www\kohanaphp3
- edit c:\wamp\www\kohanaphp\index.php, c:\wamp\www\kohanaphp1\index.php, c:\wamp\www\kohanaphp2\index.php, c:\wamp\www\kohanaphp3\index.php
$kohana_system = 'system'
to
$kohana_system = 'c:\kohana\system' - edit file c:\wamp\www\kohanaphpx\application\config\config.php, x can be '', 1, 2, 3
$config['site_domain'] = '/kohana/';
to
$config['site_domain'] = 'localhost/kohanax/'; - now browse your link http://localhost/kohanaphpx, and it's done
- now we have 4 kohanaphp apllication using 1 kohanaphp system
No comments:
Post a Comment