Chatilo
USDPrices shown in US dollars Sign in Start free trial
For platform admins

Server requirements

What your server needs before you install Chatilo: PHP version and extensions, database, HTTPS, writable folders and a cron job.

Last updated

On this page
  1. PHP
  2. Database
  3. Web server
  4. HTTPS and a domain name
  5. Writable folders
  6. Cron
  7. Outgoing connections
  8. Common problems

Chatilo is plain PHP with no Composer packages and no build step. This page lists what the installer checks and what the software needs later on, so you can prepare the server before you start.

PHP

  • PHP 8.1 or newer. The installer's Server check screen refuses to continue on anything older.
  • The php command must also be available on the command line, because the background worker and the update tools run there.

Extensions the installer checks

ExtensionUsed for
pdoTalking to the database
pdo_mysqlMySQL or MariaDB. The installer lists it, but lets you continue without it if you choose SQLite
curlCalls to Meta, payment gateways, AI providers and other outside services
mbstringText handling
opensslPush notifications and secure connections
sodiumEncrypting stored tokens and keys with the app key, and checking the signature of update packages
jsonData exchange
fileinfoChecking uploaded files

Extensions the installer does not check

ExtensionWhen you need it
pdo_sqliteOnly if you choose SQLite (testing only) in the installer
zipTo open update packages in Software update. Without it the upload field is disabled
zlibOptional. With it, the database backup taken before an update is compressed (database.sql.gz)
gdOnly for php bin/make-icons.php, which redraws the app icons

Database

  • MySQL or MariaDB for a live site. Tables are created as InnoDB with the utf8mb4 character set. The installer does not check the database version.
  • SQLite is offered as SQLite (testing only). It keeps everything in one file, storage/chatilo.sqlite. Use it to try the product, not for live customers. See Move from SQLite to MySQL.

Create an empty database and a user for it before you run the installer.

Web server

  • The web root must be the public folder, so nothing else is reachable from the internet.
  • Requests that do not match a real file must go to index.php.
  • Allow request bodies of at least 20 MB (client_max_body_size 20m; on Nginx) so media uploads fit.

The file nginx.cloudpanel.conf in the project root holds the lines to use on CloudPanel. See Install on CloudPanel.

HTTPS and a domain name

Run the site on https with a real domain name:

  • The Site URL you enter in the installer is used in webhook addresses, emails and the chat widget code.
  • Meta delivers WhatsApp webhooks only to https addresses.
  • Sign-in cookies are marked secure only when the site is served over HTTPS.
  • Revolut refuses sites on localhost or a bare IP address.

Writable folders

The user PHP runs as must be able to write to:

  • config
  • storage
  • storage/logs
  • storage/uploads
  • storage/cache
  • storage/sessions

To install updates from the admin panel, that user must also be able to write to the application's code folders. The Software update page shows a Folders writable line that tells you.

Cron

One cron job must run every minute. It sends broadcasts, processes incoming messages and does all scheduled work. See Set up the background worker.

Outgoing connections

The server must be able to open outgoing HTTPS connections, and an SMTP connection if you send email through SMTP. See Set up email (SMTP).

Common problems

An extension shows "Enable it in CloudPanel → PHP settings"

The extension is not loaded for the PHP version your site uses. Enable it for that version, then click Check again.

A folder shows "Run: chmod -R 775 …"

The folder is missing or the web user cannot write to it. Run the command shown, as the site user, from the application folder, then click Check again.

Cookies on this site

We use the cookies needed to run the site and keep you signed in. With your OK we also remember choices you make here, such as the currency for prices. We don’t use advertising or tracking cookies. Cookie policy