note 123799 added to function.php-ini-scanned-files

From: Date: Thu, 25 Apr 2019 04:00:29 +0000
Subject: note 123799 added to function.php-ini-scanned-files
Groups: php.notes 
Request: Send a blank email to php-notes+get-210667@lists.php.net to get a copy of this message
<warning> until i load more .ini files from <php-dir>/php.d/ as listed in phpinfo() (sections "Scan this dir for additional .ini files" and "Additional .ini files parsed"), php_ini_scanned_files() returns me NOTHING! then i realized my php binary was not compiled with the "--with-config-file-scan-dir" option as listed in phpinfo() (section "Configure Command") then i remembered the additional .ini files dir was set through the "PHP_INI_SCAN_DIR" system variable (new since php 5.2.0, see https://php.net/manual/en/configuration.file.php#configuration.file.scan) until confusing and annoying, is the documented behavior... too bad now i don't know how to get the additional ini files purely with php functions (except "shell_exec()" maybe?) </warning> ---- Server IP: 208.43.231.9 Probable Submitter: 82.199.157.34 (proxied: 190.101.124.155) ---- Manual Page -- http://php.net/manual/en/function.php-ini-scanned-files.php Edit -- https://master.php.net/note/edit/123799 Del: integrated -- https://master.php.net/note/delete/123799/integrated Del: useless -- https://master.php.net/note/delete/123799/useless Del: bad code -- https://master.php.net/note/delete/123799/bad+code Del: spam -- https://master.php.net/note/delete/123799/spam Del: non-english -- https://master.php.net/note/delete/123799/non-english Del: in docs -- https://master.php.net/note/delete/123799/in+docs Del: other reasons-- https://master.php.net/note/delete/123799 Reject -- https://master.php.net/note/reject/123799 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#210667) next »