[GIT-PULLS] [php-src] PR #23414: Fix user.ini handling when the script directory prefixes doc_root
[email protected] (iliaal)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
Pull Request: https://github.com/php/php-src/pull/23414 Author: iliaal php_cgi_ini_activate_user_config() swapped the scan base when the script directory was shorter than DOCUMENT_ROOT, so a prefixing script dir never loaded .user.ini. Scan the tree only when path descends from doc_root. Same change in sapi/cgi and sapi/fpm.