[php-src] PR #21503: docs(ini): Clarify php.ini search order and additional .ini scan path in configuration docs

From: Date: Mon, 23 Mar 2026 14:05:04 +0000
Subject: [php-src] PR #21503: docs(ini): Clarify php.ini search order and additional .ini scan path in configuration docs
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-35317@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/21503 Author: joshtrichards Improve the php.ini configuration-file documentation to better match the implementation and make the loading process clearer. This update: - clarifies that the documented sequence refers to the primary configuration file, - explains the distinction between a SAPI-provided override and the normal search-path construction, - makes it clear that PHP looks for php-SAPI.ini before php.ini, - and separates primary-file lookup from the later scan for additional .ini files via PHP_INI_SCAN_DIR or --with-config-file-scan-dir. Same change in both production and development sample ini file.

« previous php.git-pulls (#35317) next »