Installation
Version 5 (Jeremy Bush, 01/03/2010 05:09 pm)
| 1 | 1 | h1. Installation |
|
|---|---|---|---|
| 2 | 1 | ||
| 3 | 2 | Jeremy Bush | h2. Requirements |
| 4 | 2 | Jeremy Bush | |
| 5 | 2 | Jeremy Bush | * A Webserver. Argentum is known to run on Apache 1 & 2. It should work on lighttpd, ngnix and IIS, but these haven't been tested. |
| 6 | 4 | Jeremy Bush | * PHP 5.2.6+ (Untested on php 5.3.x, if you run it on this version, please report that it works or not) |
| 7 | 2 | Jeremy Bush | * MySQL 5.0+ Database system |
| 8 | 2 | Jeremy Bush | |
| 9 | 1 | h2. Installation Instructions |
|
| 10 | 1 | ||
| 11 | 1 | * Ensure mod_rewite is enabled and working on your website. |
|
| 12 | 1 | * Ensure short tags are enabled on your server |
|
| 13 | 1 | * Upload the files to your web server. |
|
| 14 | 1 | * Make the following files writable by the web server process: |
|
| 15 | 1 | - application/logs/ |
|
| 16 | 1 | - application/config/argentum.php |
|
| 17 | 1 | - application/config/database.php |
|
| 18 | 1 | * Browse to your application with your web browser. |
|
| 19 | 1 | * Follow the installation steps as instructed. |
|
| 20 | 1 | ||
| 21 | 1 | h3. Note on installing argentum in a subdirectory |
|
| 22 | 1 | ||
| 23 | 4 | Jeremy Bush | If you are installing Argentum in a subdirectory (ie, http://example.com/mysubdir/) you will need to do the following before running the installer: |
| 24 | 1 | ||
| 25 | 1 | * change line 2 of ''.htaccess'' file, from: ''RewriteBase /'' to ''RewriteBase /mysubdir/'' |
|
| 26 | 5 | Jeremy Bush | * change $config['site_domain'] variable in ''application/config/config.php'' to '/mysubdir' |
| 27 | 1 | ||
| 28 | 1 | h3. mod_rewrite |
|
| 29 | 1 | ||
| 30 | 4 | Jeremy Bush | Argentum uses mod_rewrite to make your URLs pretty. If you don't have access to or don't want to use mod_rewrite change the following before running the installer: |
| 31 | 1 | ||
| 32 | 1 | * change $index_page variable in ''application/config/config.php'' to 'index.php' |