TengoChat Setup

Let us get you running

Create the database in your hosting panel, paste its details below, and this page does the rest. It takes about a minute and you will not need the command line.

Clean URLs are not working on this server. Setup will still finish from this page, but the app needs them afterwards or every link will return 404.

In CyberPanel: Websites > List Websites > tengochat.com > Manage > Rewrite Rules, paste this, and save:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php [L]

A public_html/.htaccess file is not enough on its own here. OpenLiteSpeed only reads it when "Auto Load from .htaccess" is on for the vhost, so the panel above is the reliable place to put these rules.

Server check

All good
PHP 8.1.0 or newer You have 8.3.32
The pdo_mysql extension Talks to MySQL
The mbstring extension Handles accented characters and the five languages
The openssl extension TLS for outgoing API calls
The sodium extension Encrypts your API keys before they are stored
The curl extension Calls the language model, Stripe and the image provider
The gd extension Resizes uploaded photos and strips their metadata
The json extension Everywhere
The fileinfo extension Checks that an uploaded file really is an image
app (so the installer can write app/.env) writable
app/storage writable
app/storage/logs writable
app/storage/private (uploaded selfies) writable
app/storage/sessions (login sessions) writable
public_html/uploads (generated portraits) writable

Database

From your hosting panel, under Databases. Copy the values exactly as it shows them: the name and username are often given a prefix.

On the same server this is 127.0.0.1
Different port

Your site

Include https if you have a certificate. This is used for links in emails and for the Stripe return address, so it has to be right.

Your admin account

This is the account you will sign in with. It gets the admin panel and 600 call minutes so you can try everything before connecting any billing.

At least 8 characters.

Nothing is written until the database connection is confirmed.