summaryrefslogtreecommitdiff
path: root/main/php_ini.c
Commit message (Collapse)AuthorAgeFilesLines
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - MFH: move declaration on top and fix build errorFelipe Pena2008-08-141-1/+2
|
* MFH: [DOC]- Added methods to change/disable --with-config-file-scan-dir=PATH atJani Taskinen2008-08-131-9/+35
| | | | | | | | | | | | | | MFH: [DOC] startup: MFH: [DOC] MFH: [DOC] To disable: Override default php.ini by using both -c and -n with MFH: [DOC] CGI/CLI or set "PHP_INI_SCAN_DIR" environment variable MFH: [DOC] to an empty string. MFH: [DOC] MFH: [DOC] To change: Simply set "PHP_INI_SCAN_DIR" environment variable to point MFH: [DOC] to another path. MFH: - Fixed bug #42604 ("make test" fails with --with-config-file-scan-dir=/some/path) MFH: - Implemented FR #45114 (Option to change --with-config-file-scan-dir)
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: ws fixesJani Taskinen2007-08-311-20/+20
|
* MFHJani Taskinen2007-08-311-3/+3
|
* MFHAntony Dovgal2007-05-191-1/+1
|
* MFHAntony Dovgal2007-05-141-3/+3
|
* MFH: bug#41361 (shell_exec() does not find binaries)Hannes Magnusson2007-05-121-2/+5
|
* use php_strtok_r() rather than strsep()Hannes Magnusson2007-05-101-1/+4
| | | | | # Fixes build on, for instance, solaris
* MFH: Fixed PHP CLI to use the php.ini from the binary locationHannes Magnusson2007-05-061-1/+20
|
* WIN64 supportDmitry Stogov2007-04-161-2/+2
|
* - Avoid sprintf, even when checked copy'n'paste or changes lead to errorsMarcus Boerger2007-02-241-2/+2
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* MFHAntony Dovgal2006-12-281-17/+19
|
* MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; ↵Dmitry Stogov2006-09-191-0/+5
| | | | constants are working exactly like in php.ini; with FastCGI -d affects all requests).
* 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
|