Commit Graph

185 Commits

Author SHA1 Message Date
Pierre Joye
434f3654da - path len check and fix buffer overrun 2011-01-19 14:21:46 +00:00
Pierre Joye
c8219466e4 - path len sanity check 2011-01-17 14:29:16 +00:00
Pierre Joye
a209aad993 - remove local redeclaration 2011-01-10 08:28:47 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Adam Harvey
bcea4e69bb Fix bug #52786 (PHP should reset section to [PHP] after ini sections). Patch by
Fedora at famillecollet dot com.
2010-09-09 05:11:05 +00:00
Felipe Pena
c0840f18f3 - Fixed crash on non-Windows build 2010-08-30 21:34:54 +00:00
Pierre Joye
c55632007e - fix possible leak and error while fetching PHPRC 2010-08-30 17:05:56 +00:00
Antony Dovgal
ae01c146d1 fix bug #51276 (php_load_extension() is missing when HAVE_LIBDL is undefined) 2010-06-08 12:54:11 +00:00
Jani Taskinen
e421bee7af - Fixed bug #48811 (Directives in PATH section do not get applied to subdirectories) 2010-01-16 21:01:12 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Pierre Joye
e4adfe4f61 - #48779, fix another use case where / usage may differ 2009-10-15 13:09:25 +00:00
Pierre Joye
e5d4b019b9 - #48779, improve fix, drop usage of _tolower and use zend_strtolower 2009-10-12 14:40:27 +00:00
Pierre Joye
112379ba24 - fix possible issue in TS environment (we don't have to do that anymore anyway in 5.3+) 2009-10-11 21:04:35 +00:00
Pierre Joye
4d63bd1132 - #48779, don't loop twice over the path chars 2009-10-11 20:50:53 +00:00
Felipe Pena
994307d429 - Fixed build and comment-style 2009-10-09 20:01:16 +00:00
Garrett Serack
8e5a00e546 - changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case insensitive (garretts) 2009-10-09 19:43:00 +00:00
Derick Rethans
d29d24427f - 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]
2009-05-18 21:33:38 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Marcus Boerger
d6d4121546 - MFH Do not show empty ini directive tables for modules without ini entries. 2008-12-30 19:08:54 +00:00
Pierre Joye
1463a824e8 - move declaration on top and fix build error 2008-08-13 17:49:13 +00:00
Jani Taskinen
e5e6f553a2 MFH 2008-08-13 00:53:28 +00:00
Felipe Pena
cf7384aa40 - MFH: Constness (Added const qualifier to several function parameters) 2008-08-12 17:20:25 +00:00
Dmitry Stogov
ba8e3174ce Optimized request startup sequence for php.ini without per dir and per host configurations 2008-04-15 11:31:58 +00:00
Marcus Boerger
fa94dabd97 - MFH Rename dump_config_hash() to get_config_hash() as it doesn't dump 2008-02-03 14:35:59 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Jani Taskinen
c75b88760b MFH: No zval is stored here 2007-11-26 16:34:30 +00:00
Jani Taskinen
02d966c263 MFH:- Added support for [HOST=www.example.com] special sections
MFH:- Allowed using full path to load modules using "extension" directive
2007-11-09 16:27:43 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Jani Taskinen
1674976346 MFH: Fixed win32 build. 2007-09-28 10:23:38 +00:00
Jani Taskinen
09b6f37f20 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)
2007-09-28 02:05:10 +00:00
Jani Taskinen
9be89ed6f6 MFH: ws fixes 2007-08-31 08:16:13 +00:00
Jani Taskinen
b9ddb5cba6 MFH 2007-08-31 08:09:50 +00:00
Antony Dovgal
0db4f06f13 MFH 2007-05-19 12:53:06 +00:00
Antony Dovgal
d85fc29edf MFH 2007-05-14 12:19:34 +00:00
Hannes Magnusson
909894682d MFH: bug#41361 (shell_exec() does not find binaries) 2007-05-12 16:06:46 +00:00
Hannes Magnusson
63c11738f8 use php_strtok_r() rather than strsep()
# Fixes build on, for instance, solaris
2007-05-10 19:48:30 +00:00
Hannes Magnusson
448dbac84f MFH: Fixed PHP CLI to use the php.ini from the binary location 2007-05-06 14:01:26 +00:00
Dmitry Stogov
e1814f0dbe WIN64 support 2007-04-16 08:09:56 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
112462d102 MFH 2006-12-28 12:18:54 +00:00
Dmitry Stogov
7d14dad02e 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). 2006-09-19 20:33:12 +00:00
Edin Kadribasic
ef058cdd9a 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.
2006-09-05 11:54:15 +00:00
Dmitry Stogov
c946b4d1b2 In addtion to path to php.ini, PHPRC now may specify full file name 2006-08-03 11:04:52 +00:00
Dmitry Stogov
acb1e07980 Changed priority of PHPRC environment variable on win32 to be higher then value from registry. 2006-07-04 06:35:49 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
1890173d8c Revert 2005-09-02 14:05:46 +00:00
foobar
96873fecef it is good idea to return something always 2005-09-02 08:24:14 +00:00
foobar
64cfbf539f MFH: - Fixed bug #34307 (OnUpdateStringUnempty INI options can be set empty) 2005-09-01 14:44:15 +00:00
foobar
000a9e3015 - Fixed problem with -dextension=foobar.so not having it's MINIT run. 2005-08-08 16:49:44 +00:00