summaryrefslogtreecommitdiff
path: root/main/php_ini.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Search for php.ini in CWD in all sapi's *but* CLI.Edin Kadribasic2006-09-051-2/+2
| | | | | | | | | This patch reverses wrong behavaiour introduced before the release of 5.1.0. # We should probably consider killing adding CWD php.ini lookup # altogether.
* In addtion to path to php.ini, PHPRC now may specify full file nameDmitry Stogov2006-08-031-4/+9
|
* Changed priority of PHPRC environment variable on win32 to be higher then ↵Dmitry Stogov2006-07-041-8/+8
| | | | value from registry.
* bump year and license versionfoobar2006-01-011-3/+3
|
* Revertfoobar2005-09-021-8/+4
|
* it is good idea to return something alwaysfoobar2005-09-021-3/+1
|
* MFH: - Fixed bug #34307 (OnUpdateStringUnempty INI options can be set empty)foobar2005-09-011-16/+21
|
* - Fixed problem with -dextension=foobar.so not having it's MINIT run.foobar2005-08-081-1/+1
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* - Fixed few logic errors in php*.ini search path creation as documented here:foobar2005-07-291-19/+17
| | | | | | | | | | | | | | | | | | | | | 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 #
* ws fixAntony Dovgal2005-07-271-1/+1
|
* edge case: do not remove trailing slash for root directory (Bug #33882)Hartmut Holzgraefe2005-07-271-1/+1
|
* php.ini search logic needs to use the absolute path of the running binaryHartmut Holzgraefe2005-07-271-2/+6
| | | | | when looking for php.ini in the directory the php binary is installed in
* Improved PHP extension loading mechanism with support for module ↵Dmitry Stogov2005-06-171-2/+2
| | | | dependencies and conflicts
* Fixed bug #30050 (Possible crash inside php_shutdown_config()).Ilia Alshanetsky2004-09-171-0/+2
| | | | | # Patch suggestion by nw at softwarekombinat dot de
* - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()Andi Gutmans2004-07-191-1/+1
| | | | | | | | | | | | | | | 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.
* - We always need to destroy the llist though.Derick Rethans2004-02-141-1/+1
|
* - Fixed zero bytes memory allocation when no extra ini files are found in theDerick Rethans2004-02-141-7/+9
| | | | | | --with-config-file-scan-dir specified directory. (patch by Eric Colinet <e.colinet@laposte.net>)
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* Fix a problem resolving the php.ini path under win32 terminal services ↵Wez Furlong2003-12-061-0/+26
| | | | | | | 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.
* Fixed unused variable warning on *nix.Ilia Alshanetsky2003-10-201-0/+2
|
* Enable setting php.ini path via the registryStanislav Malyshev2003-10-191-1/+16
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* fix phpinfo() & php -iMarcus Boerger2003-03-291-5/+5
|
* Fix PHPRC overriding other ini files. This is how PHPRC worked prior toShane Caraveo2003-03-221-8/+8
| | | | | | 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).
* give sapi modules the possibility to overwrite default ini settingsMarcus Boerger2003-03-181-0/+4
|
* MFB config-file-scan-dir crash fixRasmus Lerdorf2003-02-281-0/+1
|
* ws/style fixesfoobar2003-02-191-36/+40
|
* Fix the possible conflicts with other libs (like libc-client)foobar2003-02-191-5/+4
|
* Implement simple stream support in the ZE scanners.Wez Furlong2003-02-181-1/+1
|
* Fixed bug: #22011 (-n must ignore all ini files)foobar2003-02-031-1/+1
|
* Moved the scandir code into it's own files so that it can be used by otherIlia Alshanetsky2003-01-271-5/+3
| | | | | OSes where libc does not have a native scandir() implementation.
* Fix broken build by adding scandir and alphasort for win32Shane Caraveo2003-01-261-0/+6
|
* Fixed bug #21625 (When scanning a directory for ini files, do so inIlia Alshanetsky2003-01-251-9/+13
| | | | | | | | 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.
* ini patch to allow 'entry[] = value' entriesHarald Radi2003-01-191-0/+28
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* - WhitespaceDerick Rethans2002-12-301-2/+4
|
* Implemented -n switch to skip parsing ini at startup as suggested by Wez.Marcus Boerger2002-11-121-24/+26
| | | | | | #The switch 'n' was planned to be used for beautifying....delete n to make #clear these functions do not have a switch yet.
* centralize #include "build-defs.h" and drop (sometimes inconsistent) otherSascha Schumann2002-10-241-3/+0
| | | | | instances
* As discussed, add --with-config-file-scan-dir compile-time switch definingRasmus Lerdorf2002-10-041-15/+69
| | | | | | | | | | 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.
* fix phpinfo() output for better browser BCColin Viebrock2002-09-261-3/+3
|
* Compat fixZeev Suraski2002-09-231-1/+1
|
* Change phpinfo() to use CSS styling instead of HTML code.Colin Viebrock2002-09-191-4/+4
| | | | | | | | | | 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.
* NetWare related changes/modificationsAnantha Kesari H Y2002-09-091-1/+1
|
* - reenable "no value" output. thanks to sebastian for pointing that out.Jan Lehnardt2002-08-291-4/+14
|
* - add phpinfo() support for CLI.Jan Lehnardt2002-08-281-13/+21
| | | | | @phpinfo() support for CLI (jan)
* Minor cleanups to path building and php*.ini search logic.Preston L. Bannister2002-08-121-13/+32
| | | | | Made path_seperator string static (which solves the lookup problems Sebastian saw).
* First try to open php-SAPI.ini and if it fails fall back to regularEdin Kadribasic2002-07-291-1/+6
| | | | | | | 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.
* get_cfg_var("get_file_path") didn't work correctly when an alternativeSander Roobol2002-05-191-6/+9
| | | | | php.ini _file_ was specified using -c
* reenable php_html_putsSascha Schumann2002-05-121-1/+1
|