Server requirements
What your server needs before you install Chatilo: PHP version and extensions, database, HTTPS, writable folders and a cron job.
On this page
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
phpcommand must also be available on the command line, because the background worker and the update tools run there.
Extensions the installer checks
| Extension | Used for |
|---|---|
pdo | Talking to the database |
pdo_mysql | MySQL or MariaDB. The installer lists it, but lets you continue without it if you choose SQLite |
curl | Calls to Meta, payment gateways, AI providers and other outside services |
mbstring | Text handling |
openssl | Push notifications and secure connections |
sodium | Encrypting stored tokens and keys with the app key, and checking the signature of update packages |
json | Data exchange |
fileinfo | Checking uploaded files |
Extensions the installer does not check
| Extension | When you need it |
|---|---|
pdo_sqlite | Only if you choose SQLite (testing only) in the installer |
zip | To open update packages in Software update. Without it the upload field is disabled |
zlib | Optional. With it, the database backup taken before an update is compressed (database.sql.gz) |
gd | Only 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
utf8mb4character 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
publicfolder, 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
httpsaddresses. - Sign-in cookies are marked secure only when the site is served over HTTPS.
- Revolut refuses sites on
localhostor a bare IP address.
Writable folders
The user PHP runs as must be able to write to:
configstoragestorage/logsstorage/uploadsstorage/cachestorage/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.