On Ubuntu, use apt to install dependencies. The following is required for Ubuntu 24.04.
You may already have the following things in place, but if it's a new server you probably need to install the things described below.
Update your repository:
sudo apt update
If you're running MySQL on the same server, install it now (this isn't needed if MySQL is already installed, or if it's running on a separate server):
sudo apt install mysql-server
Then install Apache, PHP and other essentials:
sudo apt install apache2 \
php php-mbstring php-mysql libapache2-mod-php \
php-xml php-zip php-curl \
ghostscript poppler-utils wkhtmltopdf zip
Install the following (needed for document and image-handling):
sudo apt install antiword libjpeg-progs \
jpegoptim advancecomp pngnq optipng
If you find that Zenario's installer says that GD library is missing, you may need to run:
sudo apt install php-gd
Enable additional Apache modules:
sudo a2enmod expires rewrite headers
Now restart Apache:
sudo systemctl restart apache2
Zenario will send emails. If the server is new, you may need to install a mail utility so as to ensure it can send, for example:
sudo apt install mailutils
When doing this, choose "internet site".