| 1 | | Archive Directory Structure: |
| 2 | | |
| 3 | | - root |
| 4 | | - php_documentor (templates for generating Agavi API docs) |
| 5 | | - source (all source files) |
| 6 | | - agavi (the agavi source) |
| 7 | | - webapp (your web application, which should not be accessible from the web) |
| 8 | | - www (web accessible files) |
| 9 | | - samples (sample configuration files) |
| 10 | | |
| 11 | | |
| 12 | | Installation Steps: |
| 13 | | |
| 14 | | 1. Move the "source/agavi" directory to a non web accessible location, |
| 15 | | preferrably the parent directory of your root web directory. On most |
| 16 | | installations this would be the parent directory of your "public_html" or |
| 17 | | "www" directory. |
| 18 | | |
| 19 | | 2. Move the "source/webapp" directory to a non web accessible location, |
| 20 | | preferrably the parent directory of your root web directory. |
| 21 | | |
| 22 | | 3. Give your "webapp/cache" directory full write permissions. In unix you can |
| 23 | | type "chmod 777 cache". On Windows you must go through your webserver to give |
| 24 | | it write permissions. |
| 25 | | |
| 26 | | 4. Move the "source/www/index.php" file to your web directory. This must be |
| 27 | | accessible from the web. Any location that is accessible via the web |
| 28 | | will do. |
| 29 | | |
| 30 | | 5. Configure your "webapp/config.php" configuration file. |
| 31 | | |
| 32 | | 6. Configure your web directory's "index.php" file that we just moved. |
| 33 | | |
| 34 | | 7. You're done. Try accessing your index.php file from the web. |
| 35 | | |
| 36 | | |
| 37 | | Post-Install Configuration: |
| 38 | | |
| 39 | | 1. Setting up your database(s): |
| 40 | | |
| 41 | | Turn on database support in webapp/config/settings.ini. The USE_DATABASE |
| 42 | | setting is Off by default. Set it to On. Next, read the examples in |
| 43 | | webapp/config/databases.ini to setup your database connectivity. |
| | 1 | For installation instructions, please refer to the corresponding chapter in the Agavi Manual. |