Server Requirements

PHP and Required Extensions

PHP version 8.1 or newer is required, with the following PHP extensions are enabled:

Warning

  • The end of life date for PHP 7.4 was November 28, 2022.

  • The end of life date for PHP 8.0 was November 26, 2023.

  • If you are still using PHP 7.4 or 8.0, you should upgrade immediately.

  • The end of life date for PHP 8.1 will be November 25, 2024.

Optional PHP Extensions

The following PHP extensions should be enabled on your server:

The following PHP extensions are required when you use a Cache server:

The following PHP extensions are required when you use PHPUnit:

Supported Databases

A database is required for most web application programming. Currently supported databases are:

  • MySQL via the MySQLi driver (version 5.1 and above only)

  • PostgreSQL via the Postgre driver (version 7.4 and above only)

  • SQLite3 via the SQLite3 driver

  • Microsoft SQL Server via the SQLSRV driver (version 2012 and above only)

  • Oracle Database via the OCI8 driver (version 12.1 and above only)

Not all of the drivers have been converted/rewritten for CodeIgniter4. The list below shows the outstanding ones.

  • MySQL (5.1+) via the pdo driver

  • Oracle via the pdo drivers

  • PostgreSQL via the pdo driver

  • MSSQL via the pdo driver

  • SQLite via the sqlite (version 2) and pdo drivers

  • CUBRID via the cubrid and pdo drivers

  • Interbase/Firebird via the ibase and pdo drivers

  • ODBC via the odbc and pdo drivers (you should know that ODBC is actually an abstraction layer)