First, to the official website to download 3.3.3 version of the compressed package to the/var/www/1117/directory (pre-built 1117 directory) decompression
The extracted files are (applications\modules\system\build.xml\composer.json\contributing.md\example.htaccess\index.php\ INSTALL.PHP\LICENSE.MD\README.MD)
The entry file is index.php
To manually delete the install.php after successful access to the browser, you can see "Hello World" normally.
Second, configuration issues
1.
Edit the application/bootstrap.php file and modify the following configuration as practical:
- Set the default time zone for your program
- Set the Base_url value in the Kohana::init method to the path (or domain name address) of the Kohana directory
- Kohana::init (Array () ' base_url ' = ' 1117 ',
' Index_file ' = ' false ',));
2.
Make sure that the Application/cache directory and the Application/logs directory are writable, and the command is
sudo chmod 777/var/www/1117/application/-R
Enter Base_url in your favorite browser address bar to test whether the Kohana installation was successful
If you can see the installation page (install.php) then the installation is successful (a piece of green) and if it reports any errors (shown in red), you should fix it immediately.
Once the installation page reports that your environment is correct and can be renamed or deleted install.php (Your environment is set up correctly you need to either rename or delete install.php )。 After installing the instructions, you will be able to see Kohana's Welcome Interface (currently KO3 version has only one ' Hello world! ')
iii. problems that may arise
For example, this is because the salt is not set
Solution:
Set a cookie salt
Then visit our website to find that he will not error.
How to install and configure Kohana 3.3.3 under Ubuntu 12.04