PHP Installation
Tadreeb LMS supports PHP 8.3 only. Other PHP versions are not recommended and may lead to unexpected issues.
Supported PHP Version
Note
Before installing PHP, ensure that your system meets the
System Requirements.
- PHP 8.3 – Required and officially supported
PHP must be installed for:
- The web server (Apache)
- The command-line interface (CLI)
⚠️ Both Apache and CLI must use the same PHP version (8.3).
Required PHP Extensions
The following PHP extensions must be installed and enabled for Tadreeb LMS to function correctly:
php8.3– Core PHP 8.3 packagephp8.3-cli– Command-line interface for PHPphp8.3-common– Common PHP filesphp8.3-mbstring– Multibyte string supportphp8.3-xml– XML support (DOM, SimpleXML, XMLReader/Writer)php8.3-curl– cURL support for HTTP requestsphp8.3-zip– ZIP archive supportphp8.3-mysql– MySQL/MariaDB drivers (MySQLi & PDO)php8.3-bcmath– Arbitrary precision mathematicsphp8.3-gd– Image processing (GD library)php8.3-ldap– LDAP / Active Directory support (required only if LDAP authentication is enabled)
These extensions are installed through standard OS packages, for example:
php8.3-mysqlphp8.3-xmlphp8.3-mbstringphp8.3-ldap(only if LDAP authentication is used)
✅ No additional database connector configuration is required beyond installing the PHP MySQL extension.
Verifying Installed Extensions
To confirm that a PHP extension is enabled, run:
php -m | grep -i <extension_name>