summaryrefslogtreecommitdiff
path: root/main/php_ini.c
Commit message (Collapse)AuthorAgeFilesLines
...
* MFHJani Taskinen2008-08-131-9/+35
|
* - MFH: Constness (Added const qualifier to several function parameters)Felipe Pena2008-08-121-6/+6
|
* Optimized request startup sequence for php.ini without per dir and per host ↵Dmitry Stogov2008-04-151-2/+23
| | | | configurations
* - MFH Rename dump_config_hash() to get_config_hash() as it doesn't dumpMarcus Boerger2008-02-031-6/+3
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: No zval is stored hereJani Taskinen2007-11-261-1/+1
|
* MFH:- Added support for [HOST=www.example.com] special sectionsJani Taskinen2007-11-091-23/+34
| | | | | MFH:- Allowed using full path to load modules using "extension" directive
* MFH: Added macros for managing zval refcounts and is_ref statusesYiduo (David) Wang2007-10-071-2/+2
|
* MFH: Fixed win32 build.Jani Taskinen2007-09-281-1/+1
|
* MFH:Jani Taskinen2007-09-281-61/+239
| | | | | | | | | | | | | | | | | | | | - 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)
* 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
|