Installation/Requirements

Core requirements

Elgg requires a web server (usually Apache), the PHP scripting language, and a MySQL database.

  • MySQL 5 or greater
  • PHP 5.2 or greater with the following extensions:
    • GD (for graphics processing: user and group profile icons plus many plugins)
    • Multibyte String support (for internationalisation)
    • Proper configuration and ability to send email through an MTA
  • Web server with support for URL rewriting

Official support is provided for the following configuration:

  • Apache (with the rewrite module enabled)
  • PHP running as an Apache module (safe mode and register globals should be off)

By "official support", we mean that most development and testing is performed with this configuration and much of the installation documentation is written assuming Apache is used. Priority on bug reports is also given to Apache users if the bug is web server specific (but those are rare). Other possible configurations include PHP running in CGI/FastCGI mode with Apache and using the web servers lighttpd, nginx, or IIS. Elgg should generally work with these web servers but this requires additional configuration such as porting the rewrite rules.

Search docs