History log of /PHP_TRUNK/main/php_ini.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e990406 27-Oct-2014 Anatol Belski <ab@php.net> fix datatype mismatches and warns
/php-src/main/php_ini.c
d0cb715 19-Sep-2014 Johannes Schlüter <johannes@php.net> s/PHP 5/PHP 7/
/php-src/main/php_ini.c
481bf25 01-Sep-2014 Anatol Belski <ab@php.net> restore the length var and fix the com_dotnet ini
/php-src/main/php_ini.c
88d7ca4 01-Sep-2014 Dmitry Stogov <dmitry@zend.com> Refactored INI subsystem to use zend_string* instead of char*
/php-src/main/php_ini.c
af59e92 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 7
/php-src/main/php_ini.c
4d997f6 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 3
/php-src/main/php_ini.c
c3e3c98 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 1
/php-src/main/php_ini.c
8ee2a4a 16-Aug-2014 Anatol Belski <ab@php.net> first shot on merging the core fro the int64 branch
/php-src/main/php_ini.c
c242518 08-May-2014 Xinchen Hui <laruence@php.net> There should been memory leaks(and don't use pointer cast)
/php-src/main/php_ini.c
38c886a 07-May-2014 Pierre Joye <pierre.php@gmail.com> -- missing length declaration, may have worked w/some gcc as length is not used in the macro but still need it, ifdef just make code uncertain. will get opt out anyway if not used
/php-src/main/php_ini.c
f9927a6 25-Apr-2014 Dmitry Stogov <dmitry@zend.com> Merge mainstream 'master' branch into refactoring
During merge I had to revert:
Nikita's patch for php_splice() (it probably needs to be applyed again)
Bob Weinand's patches related to constant expression handling (we need to review them carefully)
I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway)

Conflicts:
Zend/zend.h
Zend/zend_API.c
Zend/zend_ast.c
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_constants.c
Zend/zend_exceptions.c
Zend/zend_execute.c
Zend/zend_execute.h
Zend/zend_execute_API.c
Zend/zend_hash.c
Zend/zend_highlight.c
Zend/zend_language_parser.y
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_variables.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/date/php_date.c
ext/dom/documenttype.c
ext/hash/hash.c
ext/iconv/iconv.c
ext/mbstring/tests/zend_multibyte-10.phpt
ext/mbstring/tests/zend_multibyte-11.phpt
ext/mbstring/tests/zend_multibyte-12.phpt
ext/mysql/php_mysql.c
ext/mysqli/mysqli.c
ext/mysqlnd/mysqlnd_reverse_api.c
ext/mysqlnd/php_mysqlnd.c
ext/opcache/ZendAccelerator.c
ext/opcache/zend_accelerator_util_funcs.c
ext/opcache/zend_persist.c
ext/opcache/zend_persist_calc.c
ext/pcre/php_pcre.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/pdo_pgsql/pgsql_driver.c
ext/pgsql/pgsql.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/spl/spl_array.c
ext/spl/spl_observer.c
ext/standard/array.c
ext/standard/basic_functions.c
ext/standard/html.c
ext/standard/mail.c
ext/standard/php_array.h
ext/standard/proc_open.c
ext/standard/streamsfuncs.c
ext/standard/user_filters.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
main/php_variables.c
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_bp.c
sapi/phpdbg/phpdbg_frame.c
sapi/phpdbg/phpdbg_help.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_print.c
sapi/phpdbg/phpdbg_prompt.c
72c287b 21-Apr-2014 Dmitry Stogov <dmitry@zend.com> Combine HashTable.flags and HashTable.nApplyCount into single 32-bit word
/php-src/main/php_ini.c
3d17219 07-Apr-2014 Dmitry Stogov <dmitry@zend.com> Refactored zend_hash_* iteration API zend_hash_fove_forward_ex(ht, pos) and family require second argument to be real pointer.
&(ht)->nInternalPointer should be passed instead of NULL.
zend_hash_update_current_key() may work only with internal pointer.
/php-src/main/php_ini.c
76cc99f 03-Apr-2014 Dmitry Stogov <dmitry@zend.com> Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), candidate for GC, etc)
/php-src/main/php_ini.c
069c158 02-Mar-2014 Xinchen Hui <laruence@gmail.com> Fixed php_info related
/php-src/main/php_ini.c
5de7115 18-Feb-2014 Dmitry Stogov <dmitry@zend.com> Use better data structures (incomplete; able to run bench.php)
/php-src/main/php_ini.c
2b9b9af 17-Feb-2014 Dmitry Stogov <dmitry@zend.com> Use better data structures (incomplete)
/php-src/main/php_ini.c
f4cfaf3 10-Feb-2014 Dmitry Stogov <dmitry@zend.com> Use better data structures (incomplete)
/php-src/main/php_ini.c
1c7f54d 29-Jan-2014 Andrey Hristov <andrey@php.net> Merge branch 'PHP-5.6'

Conflicts:
NEWS
ext/openssl/xp_ssl.c
da84f3a 29-Jan-2014 Remi Collet <remi@php.net> Fixed Request #66574 Allow multiple paths in php_ini_scanned_path

php_ini_scanned_path, from --with-config-file-scan-dir option or
from PHP_INI_SCAN_DIR environment variable allow a single path.

In some case it could be useful to allow multiple.

In the proposed patch, multiple paths are allow, using syntax inspired
from Unix MANPATH (: separated list, empty string for builtin value).

For example, this allow to use:
PHP_INI_SCAN_DIR=/foo/php.d:/bar/php.d php
PHP_INI_SCAN_DIR=:/myproject/php.d php
PHP_INI_SCAN_DIR=/myproject/php.d: php

Real use case: in SCL for dependent collections where each collection
provides a separate tree for extensions, libraries and ini files.
/php-src/main/php_ini.c
0f53e37 03-Jan-2014 Xinchen Hui <laruence@php.net> Merge branch 'PHP-5.6'
c081ce6 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/php-src/main/php_ini.c
47c9027 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/php-src/main/php_ini.c
bd58146 18-Dec-2013 Kalle Sommer Nielsen <kalle@php.net> Kill another TSRMLS_FETCH() in the zend extension loading code
/php-src/main/php_ini.c
e7a4cf8 15-Jul-2013 Anatol Belski <ab@php.net> Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
fix buffer overrun
9561e59 15-Jul-2013 Anatol Belski <ab@php.net> fix buffer overrun
/php-src/main/php_ini.c
c542e96 19-Mar-2013 David Soria Parra <dsp@php.net> Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
Fix typos
c6f6bf8 12-Mar-2013 Carson McDonald <carson@ioncannon.net> Fix typos
/php-src/main/php_ini.c
0b8b6a7 17-Mar-2013 Dmitry Stogov <dmitry@zend.com> Added ability to load zend_extensions without absolute path names
/php-src/main/php_ini.c
a666285 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/php-src/main/php_ini.c
0a7395e 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/php-src/main/php_ini.c
8775a37 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/php-src/main/php_ini.c
4e19825 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/php-src/main/php_ini.c
b5766cd 07-Dec-2011 Xinchen Hui <laruence@php.net> Implemented FR #54514 (Get php binary path during script execution).
/php-src/main/php_ini.c
5aa1fb6 07-Dec-2011 Xinchen Hui <laruence@php.net> Implemented FR #54514 (Get php binary path during script execution).
/php-src/main/php_ini.c
0420858 07-Dec-2011 Xinchen Hui <laruence@php.net> Merge -r317306 to trunk
/php-src/main/php_ini.c
d435ddb 26-Sep-2011 Pierre Joye <pajoye@php.net> - be sure to check if the var ha not been removed between the two calls
/php-src/main/php_ini.c
6379f87 06-Aug-2011 Rasmus Lerdorf <rasmus@php.net> Fix another Coverity warning by initializing this to NULL prior to the strtok_r call
/php-src/main/php_ini.c
1bc34a4 06-Aug-2011 Rasmus Lerdorf <rasmus@php.net> Fix another Coverity warning by initializing this to NULL prior to the strtok_r call
/php-src/main/php_ini.c
801d140 18-Jul-2011 Pierre Joye <pajoye@php.net> - fix bug #54204, Can't set a value with a PATH section in php.ini
/php-src/main/php_ini.c
ba22d8a 18-Jul-2011 Pierre Joye <pajoye@php.net> - fix bug #54204, Can't set a value with a PATH section in php.ini
/php-src/main/php_ini.c
458ce08 19-Jan-2011 Pierre Joye <pajoye@php.net> - path len check and fix buffer overrun
/php-src/main/php_ini.c
52aa573 17-Jan-2011 Pierre Joye <pajoye@php.net> - path len sanity check
/php-src/main/php_ini.c
80e5f0f 10-Jan-2011 Pierre Joye <pajoye@php.net> - remove local redeclaration
/php-src/main/php_ini.c
0203cc3 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/php-src/main/php_ini.c
e1b87cc 11-Nov-2010 Jérôme Loyet <fat@php.net> - Fixed #52045 (FPM tries to open php.ini from the current dir)
- Add php_ini_ignore_cwd to _sapi_module_struct
/php-src/main/php_ini.c
02b2a28 09-Sep-2010 Adam Harvey <aharvey@php.net> Fix bug #52786 (PHP should reset section to [PHP] after ini sections). Patch by
Fedora at famillecollet dot com.
/php-src/main/php_ini.c
1fc65cb 30-Aug-2010 Felipe Pena <felipe@php.net> - Fixed crash on non-Windows build
/php-src/main/php_ini.c
2721bbf 30-Aug-2010 Pierre Joye <pajoye@php.net> - fix possible leak and error while fetching PHPRC
/php-src/main/php_ini.c
01f828e 08-Jun-2010 Antony Dovgal <tony2001@php.net> fix bug #51276 (php_load_extension() is missing when HAVE_LIBDL is undefined)
/php-src/main/php_ini.c
dd8e59d 26-Apr-2010 Kalle Sommer Nielsen <kalle@php.net> Removed safe_mode
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
/php-src/main/php_ini.c
e421bee 16-Jan-2010 Jani Taskinen <jani@php.net> - Fixed bug #48811 (Directives in PATH section do not get applied to subdirectories)
/php-src/main/php_ini.c
9ba1e81 03-Jan-2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
/php-src/main/php_ini.c
e4adfe4 15-Oct-2009 Pierre Joye <pajoye@php.net> - #48779, fix another use case where / usage may differ
/php-src/main/php_ini.c
e5d4b01 12-Oct-2009 Pierre Joye <pajoye@php.net> - #48779, improve fix, drop usage of _tolower and use zend_strtolower
/php-src/main/php_ini.c
112379b 11-Oct-2009 Pierre Joye <pajoye@php.net> - fix possible issue in TS environment (we don't have to do that anymore anyway in 5.3+)
/php-src/main/php_ini.c
4d63bd1 11-Oct-2009 Pierre Joye <pajoye@php.net> - #48779, don't loop twice over the path chars
/php-src/main/php_ini.c
994307d 09-Oct-2009 Felipe Pena <felipe@php.net> - Fixed build and comment-style
/php-src/main/php_ini.c
8e5a00e 09-Oct-2009 Garrett Serack <garretts@php.net> - changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case insensitive (garretts)
/php-src/main/php_ini.c
d29d244 18-May-2009 Derick Rethans <derick@php.net> - MFH: Get rid of the four different versions of zend_extension* and only use
zend_extension. Because of the API identifier change in PHP 5.3 you also get
a proper warning message now.
#- [DOC]
/php-src/main/php_ini.c
08659c2 31-Dec-2008 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 3 of 3.
/php-src/main/php_ini.c
d6d4121 30-Dec-2008 Marcus Boerger <helly@php.net> - MFH Do not show empty ini directive tables for modules without ini entries.
/php-src/main/php_ini.c
1463a82 13-Aug-2008 Pierre Joye <pajoye@php.net> - move declaration on top and fix build error
/php-src/main/php_ini.c
e5e6f55 13-Aug-2008 Jani Taskinen <jani@php.net> MFH
/php-src/main/php_ini.c
cf7384a 12-Aug-2008 Felipe Pena <felipe@php.net> - MFH: Constness (Added const qualifier to several function parameters)
/php-src/main/php_ini.c
ba8e317 15-Apr-2008 Dmitry Stogov <dmitry@php.net> Optimized request startup sequence for php.ini without per dir and per host configurations
/php-src/main/php_ini.c
fa94dab 03-Feb-2008 Marcus Boerger <helly@php.net> - MFH Rename dump_config_hash() to get_config_hash() as it doesn't dump
/php-src/main/php_ini.c
d1dded8 31-Dec-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 2 of 2.
/php-src/main/php_ini.c
c75b887 26-Nov-2007 Jani Taskinen <jani@php.net> MFH: No zval is stored here
/php-src/main/php_ini.c
02d966c 09-Nov-2007 Jani Taskinen <jani@php.net> MFH:- Added support for [HOST=www.example.com] special sections
MFH:- Allowed using full path to load modules using "extension" directive
/php-src/main/php_ini.c
4b4d634 07-Oct-2007 Yiduo (David) Wang <davidw@php.net> MFH: Added macros for managing zval refcounts and is_ref statuses
/php-src/main/php_ini.c
1674976 28-Sep-2007 Jani Taskinen <jani@php.net> MFH: Fixed win32 build.
/php-src/main/php_ini.c
09b6f37 28-Sep-2007 Jani Taskinen <jani@php.net> MFH:

- Added ".htaccess" style user-defined php.ini files support for
CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
in php.ini. All directives set in these sections will not be able to be
overridden in user-defined ini-files or during runtime in the specified
path.

- Improved php.ini handling:
. Added better error reporting for syntax errors in php.ini files
. Allowed "ini-variables" to be used almost everywhere ini php.ini files
. Allowed using alphanumeric/variable indexes in "array" ini options
. Fixed get_cfg_var() to be able to return "array" ini options

- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
characters)
/php-src/main/php_ini.c
9be89ed 31-Aug-2007 Jani Taskinen <jani@php.net> MFH: ws fixes
/php-src/main/php_ini.c
b9ddb5c 31-Aug-2007 Jani Taskinen <jani@php.net> MFH
/php-src/main/php_ini.c
0db4f06 19-May-2007 Antony Dovgal <tony2001@php.net> MFH
/php-src/main/php_ini.c
d85fc29 14-May-2007 Antony Dovgal <tony2001@php.net> MFH
/php-src/main/php_ini.c
9098946 12-May-2007 Hannes Magnusson <bjori@php.net> MFH: bug#41361 (shell_exec() does not find binaries)
/php-src/main/php_ini.c
63c1173 10-May-2007 Hannes Magnusson <bjori@php.net> use php_strtok_r() rather than strsep()
# Fixes build on, for instance, solaris
/php-src/main/php_ini.c
448dbac 06-May-2007 Hannes Magnusson <bjori@php.net> MFH: Fixed PHP CLI to use the php.ini from the binary location
/php-src/main/php_ini.c
e1814f0 16-Apr-2007 Dmitry Stogov <dmitry@php.net> WIN64 support
/php-src/main/php_ini.c
50ea267 24-Feb-2007 Marcus Boerger <helly@php.net> - Avoid sprintf, even when checked copy'n'paste or changes lead to errors
/php-src/main/php_ini.c
4223aa4 01-Jan-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump year.
/php-src/main/php_ini.c
112462d 28-Dec-2006 Antony Dovgal <tony2001@php.net> MFH
/php-src/main/php_ini.c
7d14dad 19-Sep-2006 Dmitry Stogov <dmitry@php.net> MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; constants are working exactly like in php.ini; with FastCGI -d affects all requests).
/php-src/main/php_ini.c
ef058cd 05-Sep-2006 Edin Kadribasic <edink@php.net> Search for php.ini in CWD in all sapi's *but* CLI.
This patch reverses wrong behavaiour introduced before the
release of 5.1.0.

# We should probably consider killing adding CWD php.ini lookup
# altogether.
/php-src/main/php_ini.c
c946b4d 03-Aug-2006 Dmitry Stogov <dmitry@php.net> In addtion to path to php.ini, PHPRC now may specify full file name
/php-src/main/php_ini.c
acb1e07 04-Jul-2006 Dmitry Stogov <dmitry@php.net> Changed priority of PHPRC environment variable on win32 to be higher then value from registry.
/php-src/main/php_ini.c
5bd9322 01-Jan-2006 foobar <sniper@php.net> bump year and license version
/php-src/main/php_ini.c
1890173 02-Sep-2005 foobar <sniper@php.net> Revert
/php-src/main/php_ini.c
96873fe 02-Sep-2005 foobar <sniper@php.net> it is good idea to return something always
/php-src/main/php_ini.c
64cfbf5 01-Sep-2005 foobar <sniper@php.net> MFH: - Fixed bug #34307 (OnUpdateStringUnempty INI options can be set empty)
/php-src/main/php_ini.c
000a9e3 08-Aug-2005 foobar <sniper@php.net> - Fixed problem with -dextension=foobar.so not having it's MINIT run.
/php-src/main/php_ini.c
23e671a 03-Aug-2005 foobar <sniper@php.net> - Bumber up year
/php-src/main/php_ini.c
f66d5f0 29-Jul-2005 foobar <sniper@php.net> - Fixed few logic errors in php*.ini search path creation as documented here:

http://fi.php.net/manual/en/configuration.php#configuration.file

#
# Before this patch:
#
# $ strace php -r 'echo 1;' 2>&1 | grep php.ini
# open("/www/php/lib/php.ini", O_RDONLY) = 3
# lstat64("/www/php/lib/php.ini", {st_mode=S_IFREG|0640, st_size=46264, ...}) = 0
#
# With this patch:
#
# $ strace php -r 'echo 1;' 2>&1 | grep php.ini
# open("./php.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
# open("/usr/src/php5_1_full/sapi/cli/php.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
# open("/www/php/lib/php.ini", O_RDONLY) = 3
# lstat64("/www/php/lib/php.ini", {st_mode=S_IFREG|0640, st_size=46264, ...}) = 0
#
/php-src/main/php_ini.c
98694f9 27-Jul-2005 Antony Dovgal <tony2001@php.net> ws fix
/php-src/main/php_ini.c
882cb20 27-Jul-2005 Hartmut Holzgraefe <hholzgra@php.net> edge case: do not remove trailing slash for root directory (Bug #33882)
/php-src/main/php_ini.c
7e071d9 27-Jul-2005 Hartmut Holzgraefe <hholzgra@php.net> php.ini search logic needs to use the absolute path of the running binary
when looking for php.ini in the directory the php binary is installed in
/php-src/main/php_ini.c
f47c784 17-Jun-2005 Dmitry Stogov <dmitry@php.net> Improved PHP extension loading mechanism with support for module dependencies and conflicts
/php-src/main/php_ini.c
2a2d49b 17-Sep-2004 Ilia Alshanetsky <iliaa@php.net> Fixed bug #30050 (Possible crash inside php_shutdown_config()).

# Patch suggestion by nw at softwarekombinat dot de
/php-src/main/php_ini.c
56f8195 19-Jul-2004 Andi Gutmans <andi@php.net> - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
/php-src/main/php_ini.c
ac9f4cc 14-Feb-2004 Derick Rethans <derick@php.net> - We always need to destroy the llist though.
/php-src/main/php_ini.c
3781af5 14-Feb-2004 Derick Rethans <derick@php.net> - Fixed zero bytes memory allocation when no extra ini files are found in the
--with-config-file-scan-dir specified directory. (patch by Eric Colinet
<e.colinet@laposte.net>)
/php-src/main/php_ini.c
dbeb415 08-Jan-2004 Andi Gutmans <andi@php.net> - A belated happy holidays and PHP 5
/php-src/main/php_ini.c
fcdda2e 06-Dec-2003 Wez Furlong <wez@php.net> Fix a problem resolving the php.ini path under win32 terminal services environment.
Remove config-file-path option from configure under win32; it is not used except to display what might have been chosen, so lets default to the getenv() thingy.
/php-src/main/php_ini.c
2479384 20-Oct-2003 Ilia Alshanetsky <iliaa@php.net> Fixed unused variable warning on *nix.
/php-src/main/php_ini.c
06aae4b 19-Oct-2003 Stanislav Malyshev <stas@php.net> Enable setting php.ini path via the registry
/php-src/main/php_ini.c
f68c7ff 10-Jun-2003 James Cox <imajes@php.net> updating license information in the headers.
/php-src/main/php_ini.c
b5c97d8 29-Mar-2003 Marcus Boerger <helly@php.net> fix phpinfo() & php -i
/php-src/main/php_ini.c
2629613 22-Mar-2003 Shane Caraveo <shane@php.net> Fix PHPRC overriding other ini files. This is how PHPRC worked prior to
4.3.x, and is usefull for applications that execute PHP and want to
emulate CGI and define alternate INI files (ie. cannot use -c).
/php-src/main/php_ini.c
63739c7 18-Mar-2003 Marcus Boerger <helly@php.net> give sapi modules the possibility to overwrite default ini settings
/php-src/main/php_ini.c
1ad304c 28-Feb-2003 Rasmus Lerdorf <rasmus@php.net> MFB config-file-scan-dir crash fix
/php-src/main/php_ini.c
7e3b508 19-Feb-2003 foobar <sniper@php.net> ws/style fixes
/php-src/main/php_ini.c
ec11fe0 19-Feb-2003 foobar <sniper@php.net> Fix the possible conflicts with other libs (like libc-client)
/php-src/main/php_ini.c
e52aac9 18-Feb-2003 Wez Furlong <wez@php.net> Implement simple stream support in the ZE scanners.
/php-src/main/php_ini.c
173b949 03-Feb-2003 foobar <sniper@php.net> Fixed bug: #22011 (-n must ignore all ini files)
/php-src/main/php_ini.c
d59d500 27-Jan-2003 Ilia Alshanetsky <iliaa@php.net> Moved the scandir code into it's own files so that it can be used by other
OSes where libc does not have a native scandir() implementation.
/php-src/main/php_ini.c
82f6cef 26-Jan-2003 Shane Caraveo <shane@php.net> Fix broken build by adding scandir and alphasort for win32
/php-src/main/php_ini.c
8d352d2 25-Jan-2003 Ilia Alshanetsky <iliaa@php.net> Fixed bug #21625 (When scanning a directory for ini files, do so in
alphabetical order. This gives a user a way to control the order in which
the ini files are loaded).
Fixed a bug that would make the code try to read files without an extension
as ini files.
/php-src/main/php_ini.c
b51b6f0 19-Jan-2003 Harald Radi <phanto@php.net> ini patch to allow 'entry[] = value' entries
/php-src/main/php_ini.c
2c5d4b8 31-Dec-2002 Sebastian Bergmann <sebastian@php.net> Bump year.
/php-src/main/php_ini.c
d454bec 30-Dec-2002 Derick Rethans <derick@php.net> - Whitespace
/php-src/main/php_ini.c
cecb9df 12-Nov-2002 Marcus Boerger <helly@php.net> Implemented -n switch to skip parsing ini at startup as suggested by Wez.
#The switch 'n' was planned to be used for beautifying....delete n to make
#clear these functions do not have a switch yet.
/php-src/main/php_ini.c
2909e5c 24-Oct-2002 Sascha Schumann <sas@php.net> centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances
/php-src/main/php_ini.c
989a61e 04-Oct-2002 Rasmus Lerdorf <rasmus@php.net> As discussed, add --with-config-file-scan-dir compile-time switch defining
a directory which will be scanned for *.ini files after the main php.ini
file has been parsed. This makes it much easier to automatically deploy
a modular PHP since adding extensions which have their own ini switches can
now be done by simply dropping a foo.ini file in the right directory and
restarting. A list of parsed ini files is maintained and shown on the
phpinfo page.
/php-src/main/php_ini.c
c7c275b 26-Sep-2002 Colin Viebrock <cmv@php.net> fix phpinfo() output for better browser BC
/php-src/main/php_ini.c
2f4ed25 23-Sep-2002 Zeev Suraski <zeev@php.net> Compat fix
/php-src/main/php_ini.c
14a6cc8 19-Sep-2002 Colin Viebrock <cmv@php.net> Change phpinfo() to use CSS styling instead of HTML code.

It doesn't render as nicely as it used to on older browsers, but it
does result in smaller files, and opens the door to using your own CSS
to style it differently.

There is a patch to Zend/zend_ini.c, but I don't have enough Karma, so
Derick has the patch.
/php-src/main/php_ini.c
3798528 09-Sep-2002 Anantha Kesari H Y <hyanantha@php.net> NetWare related changes/modifications
/php-src/main/php_ini.c
d6497fc 29-Aug-2002 Jan Lehnardt <jan@php.net> - reenable "no value" output. thanks to sebastian for pointing that out.
/php-src/main/php_ini.c
6676617 28-Aug-2002 Jan Lehnardt <jan@php.net> - add phpinfo() support for CLI.
@phpinfo() support for CLI (jan)
/php-src/main/php_ini.c
e1658ed 12-Aug-2002 Preston L. Bannister <pbannister@php.net> Minor cleanups to path building and php*.ini search logic.
Made path_seperator string static (which solves the lookup problems Sebastian saw).
/php-src/main/php_ini.c
8f94a8a 29-Jul-2002 Edin Kadribasic <edink@php.net> First try to open php-SAPI.ini and if it fails fall back to regular
php.ini file. For example cli version of PHP will first try to open
php-cli.ini in the usual ini file search path and only if it fails
will it try to open php.ini using the same path.
/php-src/main/php_ini.c
751cd67 19-May-2002 Sander Roobol <sander@php.net> get_cfg_var("get_file_path") didn't work correctly when an alternative
php.ini _file_ was specified using -c
/php-src/main/php_ini.c
a769454 12-May-2002 Sascha Schumann <sas@php.net> reenable php_html_puts
/php-src/main/php_ini.c
b9fd107 11-May-2002 Zeev Suraski <zeev@php.net> Use portable #define
/php-src/main/php_ini.c
bf97148 11-May-2002 Zeev Suraski <zeev@php.net> Centralize html_puts() logic - php_html_puts() remains as an API wrapper
/php-src/main/php_ini.c
5af649e 11-May-2002 Zeev Suraski <zeev@php.net> Revert to the old php_ini.c, and reimplement the binary-path searching.
Should now also work under UNIX (CLI/CGI)
/php-src/main/php_ini.c
c241dc5 09-May-2002 foobar <sniper@php.net> ws fix
/php-src/main/php_ini.c
0c7cfcd 09-May-2002 Preston L. Bannister <pbannister@php.net> Detect when running under IIS and default force_redirect to zero. This This means an explicit php.ini setting is no longer required.

(NO extraneous whitespace changes this time (sigh)).
/php-src/main/php_ini.c
6de4f3a 09-May-2002 Preston L. Bannister <pbannister@php.net> Add check for php.ini in same directory as php.exe (or equivalent executable that loaded php4ts.dll). Check is done before looking in the Windows directory. This allows distinct php.ini files when different applications using PHP are installed on the same system. Should be backwards compatible.

Note that checking for in CWD php.ini may be a security risk(?), and can now be made compile-time configurable by removing a single #define.

(This time with tabs for leading indent).
/php-src/main/php_ini.c
42c82bb 09-May-2002 foobar <sniper@php.net> Revert the last patches.
/php-src/main/php_ini.c
fb0c506 09-May-2002 Preston L. Bannister <pbannister@php.net> Add check for php.ini in same directory as php.exe (or equivalent executable that loaded php4ts.dll). Check is done before looks in the Windows directory.
This allows distinct php.ini files when different applications using PHP are installed on the same system. Should be backwards compatible.

Note that checking for php.ini in CWD may be a security risk(?), and can now be made compile-time configurable by removing a single #define.
/php-src/main/php_ini.c
e171614 19-Apr-2002 Yasuo Ohgaki <yohgaki@php.net> Avoid defining/using S_ISDIR macro.
/php-src/main/php_ini.c
c2dd85c 17-Apr-2002 Sebastian Bergmann <sebastian@php.net> Patch by Marcus Börger.
/php-src/main/php_ini.c
7bb4b5b 16-Apr-2002 Marcus Boerger <helly@php.net> fix cli/cgi -c <path>|<file>
#hope this fixes it really (works for me)
/php-src/main/php_ini.c
3381fe4 13-Apr-2002 Yasuo Ohgaki <yohgaki@php.net> Fix cli/cgi -c option
# I must be sleeping
/php-src/main/php_ini.c
439b568 12-Apr-2002 Yasuo Ohgaki <yohgaki@php.net> CGI/CLI take file and dir for -c option by this.
@ Both 'file' and 'path to php.ini' is allowed for "-c" cli/cgi option. (Yasuo)
/php-src/main/php_ini.c
46a7b0c 05-Mar-2002 Frank M. Kromann <fmk@php.net> Killing compiler warning on Win32
/php-src/main/php_ini.c
b4d5aa5 04-Mar-2002 Sascha Schumann <sas@php.net> Supply php_html_puts which escapes a whole string.. now fully works in ZTS
mode, too.
/php-src/main/php_ini.c
ab25640 28-Feb-2002 Edin Kadribasic <edink@php.net> Removed CWD from php_ini_search_path when using CLI SAPI.
/php-src/main/php_ini.c
3893351 11-Dec-2001 Sebastian Bergmann <sebastian@php.net> Update headers.
/php-src/main/php_ini.c
b91a666 26-Nov-2001 Sterling Hughes <sterling@php.net> Z_TYPE(filehandle)?? ok.. whatever... ;)
/php-src/main/php_ini.c
2830e45 01-Nov-2001 Derick Rethans <derick@php.net> - Applied patch by Yasuo Ohgaki <yasuo_ohgaki@yahoo.com>
/php-src/main/php_ini.c
a0bbfb5 06-Oct-2001 Derick Rethans <derick@php.net> - <br> -> <br />
/php-src/main/php_ini.c
c033288 25-Sep-2001 Jeroen van Wolffelaar <jeroen@php.net> Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
/php-src/main/php_ini.c
78747bd 09-Sep-2001 Derick Rethans <derick@php.net> - Don't wrap lines... this is annoying while coding.
/php-src/main/php_ini.c
00ef031 03-Sep-2001 Rasmus Lerdorf <rasmus@php.net> This is a list of char *'s, not zvals (caught by Nick - see bug #13107)
/php-src/main/php_ini.c
001df0d 07-Aug-2001 foobar <sniper@php.net> Yet another TSRM fix.
/php-src/main/php_ini.c
373b3e1 05-Aug-2001 Sascha Schumann <sas@php.net> more tsrm cleanup -- output.c is not doing any fetches anymore
/php-src/main/php_ini.c
1159c84 05-Aug-2001 Zeev Suraski <zeev@php.net> - TSRMLS_FETCH work
- whitespace fixes
/php-src/main/php_ini.c
2ec4400 03-Aug-2001 Zeev Suraski <zeev@php.net> Get rid of a couple of bogus persist_alloc()'s, and some cleanup
/php-src/main/php_ini.c
b1de7fc 31-Jul-2001 Zeev Suraski <zeev@php.net> More TSRMLS_FETCH annihilation. Enough for today...
/php-src/main/php_ini.c
d76cf1d 31-Jul-2001 Zeev Suraski <zeev@php.net> More TSRMLS_FETCH work
/php-src/main/php_ini.c
d87cc97 28-Jul-2001 Zeev Suraski <zeev@php.net> Redesigned thread safety mechanism - nua nua
/php-src/main/php_ini.c
fe6f871 27-Jul-2001 Zeev Suraski <zeev@php.net> - Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
/php-src/main/php_ini.c
e4f109b 19-Jun-2001 Sebastian Bergmann <sbergmann@php.net> Finish phpinfo() HTML 4.01 tweaking.
/php-src/main/php_ini.c
81e2cf0 06-Jun-2001 Rasmus Lerdorf <rasmus@php.net> Fix folding and clean up some extensions
/php-src/main/php_ini.c
25c3a3a 05-Jun-2001 Rasmus Lerdorf <rasmus@php.net> vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
/php-src/main/php_ini.c
9d1817e 06-May-2001 foobar <sniper@php.net> Fix bug: #10323. Every value outputted is now escaped.
/php-src/main/php_ini.c
0be5cca 23-Apr-2001 Frank M. Kromann <fmk@php.net> Fix build on WIn32
Should the new directorys be static?
/php-src/main/php_ini.c
2cf1b8d 22-Apr-2001 Stig Bakken <ssb@php.net> * expanded the following constants and made them available in PHP:
DEFAULT_INCLUDE_PATH
PEAR_INSTALL_DIR
PHP_EXTENSION_DIR
PHP_BINDIR
PHP_LIBDIR
PHP_DATADIR
PHP_SYSCONFDIR
PHP_LOCALSTATEDIR
PHP_CONFIG_FILE_PATH
* no longer generating pear/PEAR.php
* fixed some tests
* some more installer work
/php-src/main/php_ini.c
a6f90ec 21-Apr-2001 Andi Gutmans <andi@php.net> - Get rid of warning.
/php-src/main/php_ini.c
9db5589 17-Mar-2001 Zeev Suraski <zeev@php.net> Recode delayed loading in a much simpler way (switched back to php_ini.c 1.49)
/php-src/main/php_ini.c
7c2ea02 06-Mar-2001 Stanislav Malyshev <stas@php.net> Don't insert empty path if PHPRC is empty
/php-src/main/php_ini.c
eb6ba01 26-Feb-2001 Andi Gutmans <andi@php.net> - Fix copyright notices with 2001
/php-src/main/php_ini.c
2b45f38 21-Feb-2001 Stanislav Malyshev <stas@php.net> Add safety check
/php-src/main/php_ini.c
5b741df 21-Feb-2001 Hartmut Holzgraefe <hholzgra@php.net> # make sebastian and compiler happy .)
/php-src/main/php_ini.c
b14d2cc 21-Feb-2001 Hartmut Holzgraefe <hholzgra@php.net> will now initialize dynamic extensions *after* static ones
/php-src/main/php_ini.c
d294f46 15-Jan-2001 Zeev Suraski <zeev@php.net> - Remove the ini_extension_list global
- Switch to delayed loading of Zend extensions
/php-src/main/php_ini.c
db0b8bc 15-Jan-2001 Sascha Schumann <sas@php.net> Defer loading of extensions until all configuration entries have been
added to the configuration hash.
/php-src/main/php_ini.c
fc1cdda 13-Jan-2001 Zeev Suraski <zeev@php.net> Remove stale code
/php-src/main/php_ini.c
bd0ac7f 02-Jan-2001 Zeev Suraski <zeev@php.net> Many patches. I hope I remember them all:

- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
real full path of the php.ini file
- Optimized the ISAPI module not to read unnecessary server
variables and read necessary variables at most once.
/php-src/main/php_ini.c
338b9b0 27-Dec-2000 Zeev Suraski <zeev@php.net> - Make the INI mechanism thread safe (fix necessary API changes from Zend)
- Make the Win32 non-TS configuration build again
/php-src/main/php_ini.c
92d37f6 31-Oct-2000 Zeev Suraski <zeev@php.net> - Fix phpinfo()
- Fix non-thread-safe build
/php-src/main/php_ini.c
78194a4 30-Oct-2000 Zeev Suraski <zeev@php.net> - Complete the move to the new INI parser. (Side effect: at last, people
can finally have spaces and tabs in their extension statements...)
/php-src/main/php_ini.c
4af433d 29-Oct-2000 Zeev Suraski <zeev@php.net> Use the new INI parser for parse_ini_str()
- parse_ini_str() is now thread-safe, and supported under Windows (Zeev)
/php-src/main/php_ini.c
1fd0913 29-Oct-2000 Zeev Suraski <zeev@php.net> Initial steps to move the INI mechanism to the Zend engine
/php-src/main/php_ini.c
b7ecaac 09-Sep-2000 Zeev Suraski <zeev@php.net> More security-related (control) patches:
- Avoid displaying errors during startup, unless display_startup_errors is enabled.
- Implemented post_size_max limit. Defaults to 8MB.
- Implemented file_uploads on/off directive (defaults to on).
/php-src/main/php_ini.c
12adebb 05-Sep-2000 Zeev Suraski <zeev@php.net> - Fix leak
- Remove redundant php_ini code
/php-src/main/php_ini.c
8e0ae5d 21-Aug-2000 Sascha Schumann <sas@php.net> Cleaning up some mess
/php-src/main/php_ini.c
168ccfc 11-Jul-2000 Zeev Suraski <zeev@php.net> Disable the hash_apply() protection on hashes that persist across requests - it's unsafe
because we may be aborted at any point
@- Fixed a possible data corruption in case of a huge amount of aborted requests (Zeev)
/php-src/main/php_ini.c
d1f1d40 03-Jun-2000 Zeev Suraski <zeev@php.net> - Make the INI entries sorted in phpinfo()
/php-src/main/php_ini.c
e043439 18-May-2000 Zeev Suraski <zeev@php.net> Update the license with the new clause 6
/php-src/main/php_ini.c
1ddc9ff 05-Apr-2000 Colin Viebrock <cmv@php.net> Prettying up the output of phpinfo(). Someone has to tell me how
to get a new .gif logo in there, and why the ZEND_DEBUG output is
causing seg faults.

I also need to go through all the modules and fix up the output they
create.
/php-src/main/php_ini.c
1261271 26-Feb-2000 Zeev Suraski <zeev@php.net> Allow the INI callbacks to know at what stage PHP is
/php-src/main/php_ini.c
ba03c9f 24-Feb-2000 Stig Bakken <ssb@php.net> started implementing directives for default mimetype/charset
/php-src/main/php_ini.c
9b621d1 19-Feb-2000 Zeev Suraski <zeev@php.net> Get the license right... (this won't make it to RC1 of B4)
/php-src/main/php_ini.c
39cb8fe 05-Feb-2000 Zeev Suraski <zeev@php.net> Fix PostgreSQL startup routine in thread-safe mode
/php-src/main/php_ini.c
43ae2bf 01-Jan-2000 Sascha Schumann <sas@php.net> Happy Y2K patch! Happy new year (or the new millennium, depending on whether
you start counting at 0 or 1).
/php-src/main/php_ini.c
7ebbe20 05-Sep-1999 Andi Gutmans <andi@php.net> - Should fix short_tags and co. problem.
/php-src/main/php_ini.c
58e24ac 13-Aug-1999 Zeev Suraski <zeev@php.net> - Add PHP Modules workspace
- Get the MySQL module to compile&work under thread-safe Win32
- Fix various thread safety issues with dynamic modules
/php-src/main/php_ini.c
3cb1eb0 02-Aug-1999 Zeev Suraski <zeev@php.net> Removed '3' from key functions in PHP (maintained compatibility through
php3_compat.h)
/php-src/main/php_ini.c
c5724cb 16-Jul-1999 Zeev Suraski <zeev@php.net> License update
/php-src/main/php_ini.c
3e6bce5 14-Jul-1999 Andi Gutmans <andi@php.net> - Add a bitwise flag to phpinfo()
- Import a draft of the new PHP license
/php-src/main/php_ini.c
bb190f8 19-Jun-1999 Zeev Suraski <zeev@php.net> Implement new get_ini_entry() for Zend
/php-src/main/php_ini.c
3cad348 04-Jun-1999 Zeev Suraski <zeev@php.net> * Add a new workspace for dynamic PHP extensions.
* Add a few functions to PHP's API.
* Get the MySQL extension up-to-date and thread safe.
* Add a project for building the MySQL extension under Win32.
/php-src/main/php_ini.c
31da733 30-May-1999 Sascha Schumann <sas@php.net> kill some warnings
/php-src/main/php_ini.c
d62a739 22-May-1999 Zeev Suraski <zeev@php.net> More fixes. Should hopefully work well now.
/php-src/main/php_ini.c
9df57a2 22-May-1999 Zeev Suraski <zeev@php.net> php_ini fixes
/php-src/main/php_ini.c
9e862c1 21-May-1999 Zeev Suraski <zeev@php.net> Fix a memory leak
/php-src/main/php_ini.c
ba88c0c 11-May-1999 Zeev Suraski <zeev@php.net> * Move unclean_shutdown from PHP to Zend.
* The Master/Local headers in the phpinfo() table were reversed.
* Fix a gpc bug
/php-src/main/php_ini.c
dc5ed5a 11-May-1999 Zeev Suraski <zeev@php.net> beatify Apache's info func
/php-src/main/php_ini.c
bc415d5 09-May-1999 Zeev Suraski <zeev@php.net> * Finalizing the PHP version of SAPI. Support POST and cookies among other things.
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
/php-src/main/php_ini.c
a877f6d 28-Apr-1999 Zeev Suraski <zeev@php.net> Additional generalization of the INI mechanism. Avoid needing specialized
message handlers in 99% of the cases.
/php-src/main/php_ini.c
6647601 28-Apr-1999 Zeev Suraski <zeev@php.net> A step towards generalizing the INI mechanism even more
/php-src/main/php_ini.c
7aad231 21-Apr-1999 Zeev Suraski <zeev@php.net> Thread safety patch. It works now with just-in-time resource initialization!
/php-src/main/php_ini.c
0666083 12-Apr-1999 Zeev Suraski <zeev@php.net> NULL's should remain NULLs (at least in strings)
/php-src/main/php_ini.c
4213b5d 12-Apr-1999 Stig Bakken <ssb@php.net> tolerate uninitialized ini settings in php_ini_{long,double,string}()
/php-src/main/php_ini.c
bb6dff9 10-Apr-1999 Zeev Suraski <zeev@php.net> Buh-bye php3_ini
/php-src/main/php_ini.c
4fd1d5b 10-Apr-1999 Zeev Suraski <zeev@php.net> * php_ini fixes
* convert the MySQL module to use the new php_ini mechanism
/php-src/main/php_ini.c
d40e88a 09-Apr-1999 Zeev Suraski <zeev@php.net> Apache php_ini support
/php-src/main/php_ini.c
651e232 09-Apr-1999 Zeev Suraski <zeev@php.net> Testing 123
/php-src/main/php_ini.c
f8ef66d 09-Apr-1999 Zeev Suraski <zeev@php.net> *** empty log message ***
/php-src/main/php_ini.c
3e58450 09-Apr-1999 Zeev Suraski <zeev@php.net> * A lot of work on php_ini stuff
* A lot of work on getting rid from php3_ini
/php-src/main/php_ini.c
3edb99e 08-Apr-1999 Zeev Suraski <zeev@php.net> Type library support in COM module
/php-src/main/php_ini.c
6a97e16 08-Apr-1999 Zeev Suraski <zeev@php.net> * Add arguments to shutdown function
* Bring php_ini uptodate
/php-src/main/php_ini.c
aceaabc 07-Apr-1999 Zeev Suraski <zeev@php.net> PHP 4.0
/php-src/main/php_ini.c