diff options
Diffstat (limited to 'INSTALL.txt')
| -rw-r--r-- | INSTALL.txt | 79 |
1 files changed, 36 insertions, 43 deletions
diff --git a/INSTALL.txt b/INSTALL.txt index 0d4ca80a3..f4ecbffe1 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -1,3 +1,9 @@ +The latest version of the installation instructions is available at: +[http://docs.elgg.org/wiki/Installation] + +Installation Troubleshooting is available at: +[http://docs.elgg.org/wiki/Troubleshooting] + ELGG INSTALLATION INSTRUCTIONS @@ -5,7 +11,8 @@ TECHNICAL REQUIREMENTS Elgg runs on a combination of the Apache web server, MySQL database system and the PHP interpreted scripting language. This is the most -popular web server environment in the world. +popular web server environment in the world. (Elgg can also run on +other web servers such a nginx and IIS, but requires further configuration). Due to Elgg's advanced functionality, there are some extra configuration requirements: @@ -14,24 +21,17 @@ configuration requirements: modules: o mod_rewrite o PHP - * MySQL 5+ is needed for data storage - * PHP 5.2+ needs to be installed as an Apache module (not in CGI - mode or safe mode) with the following libraries: - o GD (for graphics processing, eg user icon rescaling) - o JSON (for API functionality) + * MySQL 5+. + * PHP 5.2+ needs to be installed as an Apache module + with the following libraries: + o GD (for graphics processing such as avatar cropping) + o Multibyte String support (for internationalization) It is recommended that you increase the memory available to PHP threads beyond the standard 8 or 12M, and increase the maximum uploaded filesize (which defaults to 2M). In both cases, this can be found in your php.ini. - * The following PHP libraries are also recommended for some - plugins and extra functionality: - o mbstring (to allow emails to be sent with non-Latin - characters) - o SOAP - o DOM - INSTALLING ELGG @@ -55,10 +55,13 @@ We recommend that this folder is called data, and is stored outside of your document root. For example, if Elgg is installed in /home/elgg/html/, you might create it in /home/elgg/data. -Once this folder has been created, you'll need to make sure Elgg has -permission to write to it. This shouldn't be a problem on Windows- -based servers, but if your server runs Linux or a UNIX variant, -you'll need to type something like: +Once this folder has been created, you'll need to make sure that your +web server has permission to write to it. This shouldn't be a problem +on Windows-based servers, but if your server runs Linux or a UNIX variant, +you'll need to figure out what user Apache runs under. For Debian-based +distros, it is usually www-data and for RedHat, it is often apache. If you +cannot figure out what the ownership and permissions should be, you can +set the permissions for world access (though not recommended): chmod 777 /home/elgg/data/ @@ -74,31 +77,15 @@ about this, ask your system administrator), create a new database for Elgg. Make sure you know the username and password necessary to access this. -4. Install your crontab (UNIX ONLY) - -Cron is a UNIX command which allows programs to be run at set -times of the day. - -If you want to take advantage of some of the maintenance -functions such as log rotation or garbage collection, you must -install a cron tab to trigger these events. -We have provided an example crontab as /crontab.example. Edit this -with a text editor to provide the details of your site, rename it -to another filename (eg 'crontab.mine') and install it with the -following command: - - crontab crontab.mine - -Substitute your filename for 'crontab.mine'. - -5. Visit your Elgg site +4. Visit your Elgg site Once you've performed these steps, visit your Elgg site in your web browser. Elgg will take you through the rest of the installation process from there. -A note on settings and .htaccess + +A note on settings.php and .htaccess The Elgg installer will try and create two files for you: @@ -106,15 +93,21 @@ The Elgg installer will try and create two files for you: your installation * .htaccess, which allows Elgg to generate dynamic URLs -If these files can't be automatically generated, for example because -you don't have the correct directory permissions, Elgg will tell you -how to create them. If, for some reason, this won't work, you will -need to: +If your web server does not have permission to create these files, you +will need to either + +1. Change the permissions on the directory where you are installing + Elgg and the engine directory and try again. Remember to change the + permissions back to the original values after installation is complete. + +2. Copy engine/settings.example.php to engine/settings.php, open + it up in a text editor and fill in your database details. Then + copy /htaccess_dist to /.htaccess - * Copy engine/settings.example.php to engine/settings.php, open - it up in a text editor and fill in your database details - * Copy /htaccess_dist to /.htaccess The latest version of this document is available at: [http://docs.elgg.org/wiki/Installation] + +Installation Troubleshooting is available at: +[http://docs.elgg.org/wiki/Troubleshooting] |
