Installing Coral

The installation of Coral is straightforward. Here's a TLDR:

Base files

To install Coral, simply download a release and put it into your web root. Your web server has to be configured to work with Coral.

Routing note: Coral expects all requests to go to the index.php file, including requests for assets. As such, you should not allow your web server to serve static assets, unless configured correctly.

Apache/shared web hosting

Apache configuration has not been tested.

Should work out of the box with the provided .htaccess file.


The following routing configuration should be used:

server {
    listen       80;

    # Replace correct hostname and installation path
    server_name  coral.local;
    root         /opt/www/coral;

    location / {
        try_files $uri $uri/ /index.php?$query_string;

    location ~ \.php$ {
        # Replace with the correct PHP connection string
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include        fastcgi_params;


All of Coral's configuration options are to be found in the config.example.php file, which should be copied to config.php. The configuration file is documented so no more information is needed here.