Edit report at https://bugs.php.net/bug.php?id=47871&edit=1
ID: 47871
Patch added by: tyrael@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:
The following patch has been added/updated:
Patch Name: PHPINIScanDir.patch
Revision: 1401990067
URL: https://bugs.php.net/patch-display.php?bug=47871&patch=PHPINIScanDir.patch&revision=1401990067
Previous Comments:
------------------------------------------------------------------------
[2014-06-05 17:40:30] tyrael@php.net
the links to the patch did not work anymore, I've found it on web.archive.org, attaching it
now.
for the record this still applies cleanly (tested it on PHP-5.6)
------------------------------------------------------------------------
[2012-11-16 05:52:41] dsp@php.net
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
------------------------------------------------------------------------
[2011-02-08 03:29:13] srinatar@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
------------------------------------------------------------------------
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