Zum Inhalt springen

Install additional PHP modules

Select PHP version

The PHP version can be configured for each domain via the customer menu. Recommended (and preset) for the use of TYPO3 9.5.x and TYPO3 10.4.x is the version "7-73LATEST (7.3.x)". Within the version there are also the options Light, Standard, Extended and FASTCGI. These differ in the number of PHP modules installed. The EXTENDED option is useful for the TYPO3 versions mentioned.

Current PHP configuration, list of modules

The current PHP configuration can be displayed using the phpinfo() function, which can be called up via the TYPO3 Install Tool, for example. All installed PHP modules are also listed here.

Integrate precompiled modules

In addition to the functions already included, we provide a number of other pre-compiled modules. These only need to be integrated via the php.ini file.

Note: Your own, non-existent PHP modules must be integrated as a 32-bit version.

To do this, the PHP.ini editor for the respective domain is called up via the customer menu.

PHP.ini Editor ' Other settings

the following parameters must be adjusted.

  1. extension = "suhosin.so"
  2. memory_limit = "256M"
  3. register_globals = "0"
  4. post_max_size = "128M"
  5. magic_quotes_gpc = "0"
  6. extension_dir = "/usr/local/lib/php_modules/7-73LATEST"
  7. upload_max_filesize = "128M"

Paths to the PHP modules

The path for the additional installable modules must now be entered in the extension_dir field, depending on the PHP version selected. The following options are available:

  • /usr/local/lib/php_modules/5-56STABLE
  • /usr/local/lib/php_modules/5-56LATEST
  • /usr/local/lib/php_modules/5-56LEGACY
  • /usr/local/lib/php_modules/7-70LEGACY
  • /usr/local/lib/php_modules/7-70STABLE
  • /usr/local/lib/php_modules/7-70LATEST
  • /usr/local/lib/php_modules/7-71STABLE
  • /usr/local/lib/php_modules/7-71LATEST
  • /usr/local/lib/php_modules/7-72STABLE
  • /usr/local/lib/php_modules/7-72LATEST
  • /usr/local/lib/php_modules/7-73STABLE
  • /usr/local/lib/php_modules/7-73LATEST

The name of the module followed by '.so' must now be entered in the Other settings field.

The changes in the PHP.ini editor take effect immediately and can now be checked by calling phpinfo().

Note: If there is a local php.ini file in a directory (e.g. in the start directory of the domain), the settings made in the PHP.ini editor do not apply, but the settings of the local php.ini file. Any existing php.ini file should therefore be deleted.

List of precompiled PHP modules

The following PHP modules (PHP 5 and PHP 7) are already available precompiled:

  • apcu.so (PHP 7 only)
  • curl.so
  • imagick.so
  • imap.so
  • intl.so
  • PHP 5.2: ioncube_loader_lin_5.2.so
  • PHP 5.3: ioncube_loader_lin_5.3.so
  • PHP 5.4: ioncube_loader_lin_5.4.so
  • PHP 5.5: ioncube_loader_lin_5.5.so
  • PHP 5.6: ioncube_loader_lin_5.6.so
  • PHP 7.0: ioncube_loader_lin_7.0.so
  • PHP 7.1: ioncube_loader_lin_7.1.so
  • PHP 7.2: ioncube_loader_lin_7.2.so
  • PHP 7.3: ioncube_loader_lin_7.3.so
  • ldap.so
  • mailparse.so
  • mbstring.so
  • mcrypt.so (up to PHP 7.1)
  • memcache.so (up to PHP 5.6)
  • memcached.so
  • mime_magic.so
  • mysqlind.so (already compiled in as of PHP 5.4)
  • mysqlnd.so (already compiled in as of PHP 5.4)
  • ncurses.so
  • oauth.so
  • pgsql.so
  • soap.so
  • sockets.so
  • suhosin.so (PHP 5 only)
  • suhosin7.so (PHP 7 and PHP 7.1 only)
  • tidy.so
  • xmlrpc.so
  • zip.so (already compiled in from PHP 5.4)
Updated: 17.07.2024