Edit report at http://bugs.php.net/bug.php?id=47871&edit=1
ID: 47871 Comment by: tyra3l at gmail dot com 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: 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 Previous Comments: ------------------------------------------------------------------------ [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? ------------------------------------------------------------------------ [2009-04-29 00:01:04] d...@php.net I think that's a good one. I assign it to me so that we don't forget about that one. ------------------------------------------------------------------------ [2009-04-02 02:47:47] sriram dot natarajan at gmail dot com hi here is the patch to address this issue http://cr.opensolaris.org/~sn123202/php53-47871.patch http://cr.opensolaris.org/~sn123202/php52-47871.patch let me know with your comments.. ------------------------------------------------------------------------ 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 http://bugs.php.net/bug.php?id=47871 -- Edit this bug report at http://bugs.php.net/bug.php?id=47871&edit=1