Skip to main content

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_limit of at least 512M

PHP extensions​

BestPDF requires the following PHP extensions:

  • intl
  • fileinfo
  • mbstring
  • imagick
  • curl
  • json

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​

sudo apt 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.