PHP Configuration
This guide covers the required PHP configuration (php.ini) settings for running Tadreeb LMS smoothly and reliably.
These settings are mandatory to prevent installer failures, upload issues, and runtime timeouts.
Required php.ini Settings
⚠️ Note: Update these values according to your project usage, workload, and server capacity.
memory_limit = 512M
upload_max_filesize = 512M
post_max_size = 512M
max_execution_time = 300
max_input_time = 300
max_input_vars = 5000
date.timezone = UTC
These settings are required to:
- Prevent installer timeouts
- Allow large file uploads
- Ensure stable request processing
> ℹ️ Values can be increased further based on project requirements.
---
## Multiple php.ini Files
PHP uses different configuration files depending on how it is executed.
Common locations on Ubuntu:
**Apache**
`/etc/php/8.3/apache2/php.ini`
**CLI**
`/etc/php/8.3/cli/php.ini`
Ensure that the required configuration values are applied **consistently in both files**.
---
## Identify Active Configuration
### For CLI
```bash
php --ini