log_errors_max_len

INIRemoved in PHP 8.1

log_errors_max_len — Set maximum length of log_errors. In error_log information about the source is added. The default is 1024 and 0 allows to not apply any maximum length at all.

Default value 1024
Development value 1024
Production value 1024

Modifiability: INI_ALL - The log_errors_max_len INI directive can be configured anywhere, including php.ini files, ini_set calls, Apache .htaccess files, per-directory .ini files, etc.

PHP 5
PHP 7
PHP 8.0
PHP 8.1
Removed
PHP 8.2-8.3
PHP 8.4
PHP 8.5
PHP 8.6
log_errors_max_len = 1024

Changes to the log_errors_max_len INI

PHP 8.1

  • INI directive removed

log_errors_max_len INI Availability

PHP VersionAvailability
PHP 8.6Upcoming Release No
PHP 8.5Supported (Latest) No
PHP 8.4Supported No
PHP 8.3Security-Fixes Only No
PHP 8.2Security-Fixes Only No
PHP 8.1Unsupported No
PHP 8.0Unsupported Yes
PHP 7.4Unsupported Yes
PHP 7.3Unsupported Yes
PHP 7.2Unsupported Yes
PHP 7.1Unsupported Yes
PHP 7.0Unsupported Yes
PHP 5.6Unsupported Yes
PHP 5.5Unsupported Yes
PHP 5.4Unsupported Yes
PHP 5.3Unsupported Yes