Commit Graph

811 Commits

Author SHA1 Message Date
Kalle Sommer Nielsen
dd8e59da8f 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
2010-04-26 23:53:30 +00:00
Felipe Pena
0a6bcd44a7 - Removed allow_call_time_pass_reference (Pierrick) 2010-04-26 00:13:34 +00:00
David Soria Parra
08b9fdc8a3 Add DTrace probes 2010-04-24 13:32:30 +00:00
Kalle Sommer Nielsen
9a38f301d6 Remove highlight.bg, it was removed in the old trunk and its not referenced in zend_highlight.c, meaning its not even implemented correctly in 5.3. 2010-04-21 21:56:24 +00:00
Kalle Sommer Nielsen
febee11285 Removed register_globals 2010-04-21 01:27:22 +00:00
Dmitry Stogov
41b6410418 Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed. 2010-04-20 11:07:05 +00:00
Dmitry Stogov
94dd83722b Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table 2010-04-20 10:57:45 +00:00
Kalle Sommer Nielsen
a5304b138f Removed register_long_arrays ini option (and $HTTP_SESSION_VARS from ext/session) 2010-04-15 16:36:08 +00:00
Kalle Sommer Nielsen
ec5ece6caf PHP_OS is now always WINNT on Windows, since we don't support anything prior to XP SP2 2010-04-13 11:14:04 +00:00
Kalle Sommer Nielsen
7ef4cdf471 Remove a couple TSRMLS_FETCH() calls around ext/main/sapi 2010-04-13 11:02:15 +00:00
Kalle Sommer Nielsen
4e7b11ccce Removed y2k_compliance ini option, making it "always" enabled internally
- The only reference to y2k_compliance was in php_std_date(). Browsers thats not compatable have a marketshare of 0.01% if they even are in use today
2010-04-12 07:34:30 +00:00
Kalle Sommer Nielsen
8087be61d0 * Changed the way removed ini directives are shown so its easier to add new ones
* Removed define_syslog_variables and its associated functions
2010-04-12 01:52:55 +00:00
Jani Taskinen
af49e58f51 - Reverted r296062 and r296065 2010-03-12 10:28:59 +00:00
Jani Taskinen
b4e1296756 - Fix conflict 2010-03-11 11:23:38 +00:00
Jani Taskinen
06f072cb5e MFH: Improved / fixed output buffering (Michael Wallner) 2010-03-11 10:24:29 +00:00
Adam Harvey
1f19a7dc6c Fix for bug #23229 (syslog function truncates messages): remove the hard-coded
500 character error message limit imposed when using error_log=syslog.
2010-02-26 18:01:03 +00:00
Pierre Joye
573c33b3b7 - [DOC] #45986, bad file descriptor warning when rename is used with invalid path, add php_win32_docref2_from_error to display system error for non posix api 2010-01-26 20:04:03 +00:00
Pierre Joye
6a7d96eef9 - prevent possible crash when error/warnings are raised during startup (like deprecated features), 5.3+ only 2010-01-24 12:39:31 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Dmitry Stogov
76c445dd73 - Forgotten patch for trunk
- Fixed stdin filename in error messages
2009-12-08 10:16:38 +00:00
Jani Taskinen
47a9c71dcc - Fixed bug #49935 (Deprecated warnings make "make test" to fail) 2009-11-27 23:34:36 +00:00
Jani Taskinen
3a9f74967d - Nuke ws 2009-11-15 00:31:42 +00:00
Rasmus Lerdorf
4e6b9899a5 Fix bug #49868
As far as I can tell this was a copy-paste induced bug when I added
the reset_signals flag to zend_set_timeout.
2009-11-15 00:21:31 +00:00
Felipe Pena
8f0a451747 - Fixed bug #50005 (Throwing through Reflection modified Exception object makes segmentation fault) 2009-11-12 00:10:00 +00:00
Dmitry Stogov
cf4dc24743 Avoid invoking setitimer when timeouts have been disabled (Arvind Srinivasan) 2009-11-05 10:38:56 +00:00
Ilia Alshanetsky
8dae9275fc Lower the max upload default to 20 2009-10-28 13:04:42 +00:00
Ilia Alshanetsky
e2211cee86 Introduced a max_file_uploads INI setting, which is set to limit the
number of file uploads per-request to 100 by default, to prevent possible
DOS via temporary file exhaustion.
2009-10-27 16:13:48 +00:00
Stanislav Malyshev
0e38a3d303 oops, that doesn't belong to this patch 2009-10-13 20:54:28 +00:00
Stanislav Malyshev
207e75b2cd fix crash for bug #47627 2009-10-13 19:58:59 +00:00
Dmitry Stogov
ffb07732f7 Fixed bug #49627 (error_log to specified file does not log time according to date.timezone) 2009-10-05 13:56:49 +00:00
Dmitry Stogov
7bfe056174 Fixed tests 2009-09-21 09:52:19 +00:00
Jani Taskinen
4361f2370a I have no idea. This might or might not fix a bug in some branch. At least it works. 2009-09-04 11:02:40 +00:00
Stanislav Malyshev
d1a16fc86d fix extension functions disabling (bug #49065) 2009-07-29 00:17:10 +00:00
Ilia Alshanetsky
c71358379d Fixed a possible crash inside OnUpdateErrorLog() when restoring an empty value
Avoid pointless safe_mode/open_basedir checks on OnUpdateMailLog() if value is empty
2009-07-12 16:38:14 +00:00
Stanislav Malyshev
4bb8672039 fix mail.log openbasedir interaction with .htaccess 2009-07-09 00:21:17 +00:00
Jani Taskinen
87f9d62861 - Fixed bug #48247 (Infinite loop and possible crash during startup with errors) 2009-07-07 16:42:11 +00:00
Pierre Joye
e7560b8316 - typo 2009-06-04 07:41:01 +00:00
Pierre Joye
0168025f4c - [DOC] add PHP_WINDOWS_NT_* and PHP_WINDOWS_VERSION_* constants (usefull for testing and features detections)
see http://msdn.microsoft.com/en-us/library/ms724451(VS.85).aspx for the explanation
2009-06-04 06:59:46 +00:00
Scott MacVicar
16398c1990 MFH: Make sure the timeout is checked in the shutdown function, patch from Etienne 2009-05-30 09:48:16 +00:00
Kalle Sommer Nielsen
5a6d3cc42b Added E_DEPRECATED startup notice (5.3 only) 2009-05-04 21:18:22 +00:00
Derick Rethans
53bb83ab8c - MFH: Fixed warnings 2009-05-04 19:55:47 +00:00
Derick Rethans
65fc904143 - MFH: Fixed bug #45191 (error_log ignores date.timezone php.ini val when
setting logging timestamps).
2009-05-03 19:08:49 +00:00
Pierre Joye
3cce609d77 - fix build (Marcus, fix re2c please) 2009-04-30 09:11:00 +00:00
Dmitry Stogov
9e36fae5ff Fixed bug #48034 (PHP crashes when script is 8192 (8KB) bytes long) 2009-04-28 07:13:30 +00:00
Arnaud Le Blanc
843202cd5c MFH: Fixed initialization of tick functions list in ZTS 2009-03-27 02:34:06 +00:00
Dmitry Stogov
c277ebc6c8 Fixed bug #47320 ($php_errormsg out of scope in functions) 2009-02-09 09:20:35 +00:00
Stanislav Malyshev
0c5d83b053 fix nts build 2009-01-17 01:12:36 +00:00
Pierre Joye
dcb5027b93 - MFH:
- return SUCCESS on success
 - check return value
2009-01-16 10:26:32 +00:00
Pierre Joye
2f61ad9b98 - add EG(windows_version_info), set at init time once per instance
contains a OSVERSIONINFOEX struct. It lets us determine easily on which windows version is used (for example)
- add the ability to disable a function when the windows function does not support a feature (for example symlink)
- symlink, hardlink & co support (1/2)
2009-01-16 00:57:05 +00:00
Ilia Alshanetsky
905a5c0590 [DOC]
Added mail logging functionality that allows logging of mail sent via
mail() function

THe logging functionality is disabled by default but can be enabled on a
per-directory or globaly via 2 INI settings.

The mail.log directive allows you to specify the file where each call to
mail() will be logged. The log file will contain the path and line # of the
calling script in addition to all of the headers indicated by the user.

The mail.add_x_header directive will introduce a X-PHP-Originating-Script
header that will contain the file name (no path) of the calling script and
the uid of the script. This combination should be sufficient for the admin
to locate the sending script.
2009-01-09 14:59:30 +00:00