Requirements
Before installing BestPDF, make sure your environment meets the following requirements.
Blesta
- Blesta 5.x or 6.x
PHP
- PHP 8.2 or newer
- ionCube Loader 13 or newer
memory_limitof at least 512M
PHP extensions
BestPDF requires the following PHP extensions:
intlfileinfombstringimagickcurljson
On most systems these are already active — json and curl in particular are compiled in on nearly every build. BestPDF checks them before rendering and names any that are missing in the error it raises (and in the log). If any are, install them as shown below.
Installing missing extensions
- Debian / Ubuntu
- RHEL / Alma / Rocky
sudo apt install php-imagick php-intl php-fileinfo php-mbstring php-curl php-json
sudo yum install php-imagick php-intl php-fileinfo php-mbstring php-curl php-json
After installing, restart your web server (or PHP-FPM) for the changes to take effect.
Next steps
Once your environment is ready, continue to Installation.