The Xentral cloud uses Nginx, which is the only officially supported web server for Xentral.
A Xentral Nginx configuration may look like:
http { server { root /my/path/to/xentral/www # ... location /api/ { rewrite ^/api/(.*)$ /api/index.php/$1 last; } location / { try_files $uri $uri/ /index.php$is_args$args; } # ... } }
Apache web server is not used by Xentral and therefore not officially supported.
The document root of the web server that serves Xentral, has to point to the www
folder.
Configurations which end up having www
as part of their domain can lead to security issues and are not supported anymore.
Due to the need to configure a process control system for the queue and being able to execute commands for different use cases, Hosting without CLI access is not supported anymore.
Xentral version 22.1 will use PHP 7.4 as a minimum PHP version.
The following PHP extensions are required, whereas "*" means that any version can be used and, e.g., ">=10.4" means that version 10.4 or higher is required:
“ext-calendar”: “*”, “ext-ctype”: “*”, “ext-curl”: “*”, “ext-exif”: “*”, “ext-fileinfo”: “*”, “ext-filter”: “*”, “ext-ftp”: “*”, “ext-gd”: “*”, “ext-gettext”: “*”, “ext-hash”: “*”, “ext-iconv”: “*”, “ext-intl”: “*”, “ext-ioncube-loader”: “>=10.4", “ext-json”: “*”, “ext-libxml”: “*”, “ext-mysqli”: “*”, “ext-openssl”: “*”, “ext-posix”: “*”, “ext-session”: “*”, “ext-simplexml”: “*”, “ext-soap”: “*”, “ext-sockets”: “*”, “ext-sodium”: “*”, “ext-tokenizer”: “*”, “ext-zip”: “>=1.15.5", “ext-zlib”: “*”,
Xentral does not support any hosting without a proper SSL certificate.
You can get free SSL certificates via letsencypt.org.
Note
Hosting at All-Inkl can cause problems here. The call of the starter.php is done there via the URL. The WWW directory was adapted with the new version. The php/CLI version of 7.4 is required.