evoControl: requirements and installation
evoControl has two parts that are installed separately: the agent, which goes on each Joomla website, and the panel, a PHP application independent of any CMS. This page covers both. To link them, continue with first steps.
Requirements
| Part | Requirement |
|---|---|
| Agent: Joomla | 5 or 6. On Joomla 4 or earlier the installation stops with a message. |
| Agent: PHP | 8.1 or later, with the sodium extension (Ed25519 signing of requests). |
| Agent: database | MariaDB 10.5 or later, or MySQL 8. The installer does not check the database version. |
| Agent: web server | HTTPS, and it must pass the X-Evocontrol-* headers to PHP (the norm with Apache and with nginx plus PHP-FPM). |
| Panel: PHP | 8.1 or later, with the sodium, pdo_sqlite, curl, openssl, mbstring, dom and fileinfo extensions. The installer checks each one. |
| Panel: database | None to install. It keeps everything in a SQLite file. |
| Panel: cron | A periodic task every 5 minutes or less. For remote updates, every 4 or 5 minutes. |
| Panel: email | An SMTP account with STARTTLS or SMTPS for alerts. It does not use mail() or sendmail. |
Agent 1.3.0 has been tested on Joomla 5.4 with PHP 8.1 and MariaDB 10.5, and on Joomla 6.2 with PHP 8.4 and MySQL 8.0, always in Docker. It has not been tested on a real hosting account.
The panel must be able to reach the websites it watches over HTTPS (port 443 or any port from 1024 up) and your SMTP server. With a download key saved, it also reaches the evoaddons.com licence server.
Installing the agent on a Joomla website
- Download the agent ZIP from the customer area.
- In Joomla, go to System → Install → Extensions and upload the ZIP.
- The package installs four extensions: the system plugin that acts as the agent, a REST API plugin with its interface-less component, and an evoMCP plugin with three tools. On a first install the three plugins are enabled automatically.
- Check that System → Plugins → System - evoControl (agent) exists.
If PHP 8.1, the sodium extension or the Joomla version is missing, the installer stops and says what is missing. On update, plugin state is left alone: anything you switched off on purpose stays off.
The evoMCP plugin only does something if evoMCP is installed. The agent has no public pages and no cookies. The only visible thing is the /evocontrol/v1/… route, which answers only to a linked panel.
Installing the panel
The panel comes in a flat ZIP, with no wrapper folder. It goes on its own domain or subdomain, never in the folder of an existing website.
- Create a domain or subdomain just for the panel and unzip the ZIP into its public folder (
httpdocson Plesk,public_htmlon cPanel). - Open the address in the browser right after unzipping. It takes you to the installer, which checks the requirements and tells you what is missing. Until you finish, whoever reaches the installer first takes the panel.
- Fill in the form: public address of the panel (https), username, email and a password of 12 characters or more. Then enable two-factor authentication with your authenticator app and save the ten recovery codes, which are shown only once.
The installer offers a checkbox to let the panel update itself from the licence server, ticked by default. It is explained in settings. SMTP is configured afterwards, in Settings. When it finishes, install.php answers 404 and cannot be reinstalled.
Where the panel keeps its data
On the first visit the panel chooses the data folder (SQLite database, master key, configuration, sessions) and records it in evocontrol.paths.php, in the public folder.
- If the parent folder is writable and does not look like another domain's public folder, the data goes outside the web, in
../evocontrol-data/. - Otherwise it goes in
storage/inside the public folder. In that case the installer checks with a real request that the files cannot be read from the web, and refuses to finish if they can.
Do not delete evocontrol.paths.php: without it the panel stops. If you change web server or hosting, press "Check data protection" in Settings.
The panel's web server
- Apache: needs
mod_rewriteandAllowOverridewith FileInfo, Options, Indexes and AuthConfig. If you get a 500 error, the hosting does not allow the panel's.htaccess; point the web root topanel/public/. - nginx does not read
.htaccess. Before opening the installer add the ruleslocation ^~ /storage/ { deny all; },location ^~ /panel/ { deny all; }andlocation ^~ /lib/ { deny all; }, andlocation / { try_files $uri /index.php$is_args$args; }for everything else. Delete the hosting's welcomeindex.htmlif there is one. - IIS:
web.configneeds the URL Rewrite module, and the ones in the inner folders need URL Authorization. IIS has not been tested. - PHP's built-in server (
php -S) is not suitable for production.
To use remote updates, the panel's server must handle more than one request at a time (PHP-FPM with several processes), because during an installation the agent downloads the ZIP from the panel itself.
Scheduling the cron job
Without cron the panel queries no website. The last page of the installer gives the command with your server's real paths. It has this form and must be run by the same user that runs the panel:
*/5 * * * * php /path/to/public/folder/panel/bin/cron.php
With cron every minute the job queue does not advance: the actions phase skips the run. Use 4 or 5 minutes.
Download key and updates
Each part is licensed separately. The download key has the format EVO-XXXX-XXXX-XXXX-XXXX.
- Agent: paste the key in System → Update Sites, the "Download Key" field of the evoControl row, or in the Licence tab of the plugin options.
- Panel: paste it in the Licence screen, with your password.
The licence only governs downloads and updates. Without a licence, expired or offline, the agent and the panel keep working the same. More on updating in licences and updates.
Updating
The agent updates like any Joomla extension, or from the panel. The panel updates from its "Update the panel" screen, manually and with a backup first. The steps are in reference.