Skip to content

PHP Versions and Modules

PHP Versions

Each website has control of its own PHP version. By default, 8.1 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.

The default PHP version and supported PHP versions can be configured on a per package basis.

Enhance currently supports the following PHP versions. More are being added.

  • PHP 8.3
  • PHP 8.2
  • PHP 8.1 [default]
  • PHP 8.0
  • PHP 7.4
  • PHP 7.3
  • PHP 7.2
  • PHP 7.1
  • PHP 7.0
  • PHP 5.6

PHP package settings (Default php version and Supported php versions)

It is possible to set a default PHP version and supported PHP versions on a per package basis.

A default php version will ensure that all websites added to that package use the chosen default version.

Supported php versions will allow the user to select their preferred php version from; a. All current and future php versions permitted: The user will be able to select from all existing php versions (as above). New php versions added to Enhance will automatically be made available on the package. b. Customise supported php versions: The user will be able to select from preselect php versions. New php version added to Enhance will manually need to be added to the package.

To set a Default php version and Supported php versions on a pagkage:

  1. Select Settings from the left side menu
  2. Select Packages
  3. Scroll to Features and select your preference
  4. Then select your chosen Default php version
  5. Click Add package to save

PHP Modules

The following PHP modules are installed on Enhance by default:

  • Redis (PHP 7.0 and above)
  • Curl
  • GD
  • FreeType
  • XPM
  • Zip
  • Opcache
  • Mhash
  • FTP
  • Mbstring
  • Sodium
  • PDO Sqlite
  • PDO MySQL
  • OpenSSL
  • Zlib
  • Exif
  • Tidy
  • XSL
  • BcMath
  • XML RPC
  • IMAP
  • GMP
  • Intl (PHP 7.1 and above)
  • Webp (PHP 7.4 and above)
  • Imagick
  • Mailparse (PHP 7.4 and above)
  • PCNTL
  • Sockets
  • LDAP