Requirements
Environment
- WHMCS 8.x or 9.x (last tested with 9.0.0)
- ionCube Loader 12 or newer (PHP 8.3 requires at least v13)
- PHP 7.4 or 8.1-8.3
- PHP FileInfo, intl and mbstring extensions
- Either PHP GD or imagick extensions (for rendering images)
- Either ImageMagick, GraphicsMagick or Poppler (for generating thumbnails, optional)
- PHP memory_limit 256M or greater (512M recommended)
PHP Extensions
You need the PHP gd, intl, fileinfo and mbstring extensions.
If you like, you can use imagick instead of gd.
On most systems, they are already active. If they are missing on your system, you must install and enable them.
Installing required PHP extensions
- Debian/Ubuntu
- Redhat/Rocky
sudo apt install php-gd php-intl php-fileinfo php-mbstring
sudo yum install php-gd php-intl php-fileinfo php-mbstring
Enabling required PHP extensions
- cPanel
- Plesk
- Login as admin
- Under the
Software and Servicesection, click onSelect PHP Version - Ensure that
gd,intl,fileinfoandmbstringare checked and save
- Login as admin
- Under
Tools & Settings, click onPHP Settings - Click on the version you are using
- Ensure that
gd,intl,fileinfoandmbstringare checked and save
System Locales
For the automatic formatting of currencies and locales to work properly, on Linux-based systems it is necessary to have the corresponding locales installed. Otherwise, PHP will fall back to US format.
- Debian/Ubuntu
- Redhat/Rocky
sudo dpkg-reconfigure locales
localectl list-locales
sudo dnf install glibc-langpack-en