Edit report at https://bugs.php.net/bug.php?id=47871&edit=1
ID: 47871 Updated by: d...@php.net Reported by: sriram dot natarajan at gmail dot com Summary: PHPIniScanDir directive for apache allows scanning for extension ini files Status: Assigned Type: Feature/Change Request Package: PHP options/info functions Operating System: unix and linux PHP Version: 5.3.0RC1 Assigned To: dsp Block user comment: N Private report: N New Comment: Sriram, sorry for totally having forgotten about that patch. I think we might be able to add it to 5.5.0 if someone pushes for it. I yet have to test if the patch works with 5.5.0 Previous Comments: ------------------------------------------------------------------------ [2011-02-08 03:29:13] srina...@php.net i believe, with my initial patch the idea was that introduce a directive like PhpIniScanDir within httpd.conf so that this can scan a directory. ------------------------------------------------------------------------ [2011-02-02 23:34:15] tyra3l at gmail dot com for the record: passing PHP_INI_SCAN_DIR through SetEnv from apache confid doesnt work: the environment variable will be there(at least by phpinfo()), but the "Scan this dir for additional .ini files" will be empty. on the other hand, if you set/export an environment variable in the shell where you start the apache afterwards, that does work. so for now, one can set this option "runtime", but it would be a nicer solution, if the apache SetEnv would work, or if the patch would be merged, so we would have an apache directive called PHP_INI_SCAN_DIR. Tyrael ------------------------------------------------------------------------ [2011-02-02 22:04:21] tyra3l at gmail dot com poke Tyrael ------------------------------------------------------------------------ [2009-05-04 18:19:16] sriram dot natarajan at gmail dot com how does this work ? will this need to be ported all the sapi's currently supported by PHP or can it be on a user request basis ? for, example - i can provide the patch for ISAPI ? will that help ? For NSAPI, lot of things are broke as is. for example, php ini dir itself does not work with recent version of sun web server. I plan to file a separate bug for NSAPI and can provide a separate patch to address this issue for nsapi. I don't have lot of experience with thttpd or roxen. Does this patch need to be ported to those SAPI's as well ? are these SAPI's actively used by the community ? ------------------------------------------------------------------------ [2009-05-04 15:12:54] paj...@php.net David, what's the status about this one? Should it not be for all SAPI instead? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=47871 -- Edit this bug report at https://bugs.php.net/bug.php?id=47871&edit=1