# PHP Versions and Modules
# PHP Versions
Each website has control of its own PHP (opens new window) version. By default, 7.4 is configured on all new websites added to an Enhance cluster. Additional domains mapped to a website (add-on domains) use the same PHP version as the primary (root) domain.
Enhance currently supports the following PHP versions. More are being added.
- PHP 8.2
- PHP 8.1
- PHP 8.0
- PHP 7.4
- PHP 7.3
- PHP 7.2
- PHP 7.1
- PHP 7.0
- PHP 5.6
# PHP Modules
Compiling custom PHP modules is not supported. If you require a module which is not included in our standard configuration please email firstname.lastname@example.org
The following PHP modules are installed on Enhance by default:
- Redis (PHP 7.0 and above)
- PDO Sqlite
- PDO MySQL
- XML RPC
- Intl (PHP 7.1 and above)
- Webp (PHP 7.4 and above)
- Mailparse (PHP 7.4 and above)
Enhance ships with the brotli extension (opens new window) but this is not enabled by default. To enable it:
/usr/sbin/chrootbuilderto ensure you have the latest PHP container base images.
- In the UI, under developer tools, add a php.ini setting with the directive
extensionand the value
- If the extension does not show in phpinfo() immediately, you can force a
restart of the PHP container. Either
pkill -9 -u website_useror toggle the PHP version in the control panel.