Wez Furlong
e67ad79599
Enable IObjectSafety so that we can be used in the M$ scripting control.
Thanks to Rob for checking this out.
22 years ago
Edin Kadribasic
728b849529
Fix for #28929 by Michael Sisolak
22 years ago
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
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.
22 years ago
Moriyoshi Koizumi
2af6d0e1ab
- request_dtor() should be called if a fatal error occurs during activation
phase.
22 years ago
Edin Kadribasic
546e5bbc43
Made php -m output sorted case-insensitevly
22 years ago
Stefan Esser
90f151470c
same bug.
22 years ago
Stefan Esser
446f4d1bc2
Security Fix broken! Destroyed Basic auth. Blame: me
4.3.x not affected
22 years ago
Andi Gutmans
e5cfb1d05c
- Better stability during premature shutdown of request startup
22 years ago
Sascha Schumann
f51ff68dfa
- revert to proper behaviour
22 years ago
Uwe Schindler
3bb7e73656
replace strncpy with strlcpy
22 years ago
Edin Kadribasic
42f7b8026c
MFB: Memory leak fix (patch by Joe Orton)
Fixes #28113 . Adapted to php5 by Magnus Määttä.
22 years ago
Uwe Schindler
8327d4e2bd
Addendum to bug #28878 : change ini keys as PHP_INI_SYSTEM
Also: Adding "bucket" parameter to non-ini-keys, Elemination of double CONTENT_TYPE/_LENGTH environment variables
22 years ago
Alex Leigh
ef81373201
Updated the author's contact information.
22 years ago
Uwe Schindler
e276023d82
Fix bug #28878 : php.ini values in php5_execute
22 years ago
Ilia Alshanetsky
cfbf5b24b7
Fixed bug #28818 (Apache 2 sapis do not export st_dev).
22 years ago
Zeev Suraski
a2ea2d7173
Fix prototypes
22 years ago
Marcus Boerger
d94136fc30
- Remove unused blocks
22 years ago
Ilia Alshanetsky
50260570b4
Make isapi more compatible with apache sapis as far as the creation
$_COOKIE super-global and various $_SERVER values.
22 years ago
Stanislav Malyshev
74ab20817a
Fix fastCGI breakage: due to calling flush on unitialized requests,
request was aborted unless ignore_user_abort is set
22 years ago
Wez Furlong
5b5b10f0ca
Just in case this header isn't present on the snaps machine.
22 years ago
Wez Furlong
c921ceb49c
Improve stability.
Give it a new CLSID and change the engine name to ActivePHP5.
Globals registered by the scripting host are now auto-globals and don't
need to be declared global when accessed from within functions.
22 years ago
Uwe Schindler
b39a1e5195
Security fix: Put '\0' string termination before loop
22 years ago
Marcus Boerger
9216b3d182
Add a notice on STDIN
22 years ago
Ilia Alshanetsky
e81addb5ca
C++ comments.
22 years ago
Ilia Alshanetsky
39a43c994e
Fixed bug #27802 (default number of children to 8 when PHP_FCGI_CHILDREN is
not defined).
23 years ago
Uwe Schindler
fcfe11e9e4
hint to raise stacksize (bug #27231 )
23 years ago
Ilia Alshanetsky
39baa271b6
Fixed bug #27580 (pre-initialization errors in ap2 handler are not being
written to vhost error log).
Stop using depreciated and ignored APLOG_NOERRNO directive.
Make file not found & directory as script invocation error messages more
descriptive.
23 years ago
Ilia Alshanetsky
ed2b1770ab
Invalid response code when force-cgi-redirect safety mechanism is triggered
23 years ago
Ilia Alshanetsky
c828007fdf
Fixed bug #27424 (headers missing on flush() in apache 2 SAPIs).
23 years ago
Moriyoshi Koizumi
26799b851f
- typo (must have sleep.)
23 years ago
Moriyoshi Koizumi
e5fb0e3fbd
- Prevent cli from printing multiple "Interactive mode enabled" if
the command line option is given more than once (like -aaaaaa).
23 years ago
Rasmus Lerdorf
2a44432e8c
As discussed a while ago. There is no reason to disallow command-line
arguments for the cgi version when run in a cgi context. Our own test
framework is in fact broken because of this unnecessary restriction.
23 years ago
foobar
09d5b95871
Fix bug #27337 (missing sapi_shutdown() causing memory leak)
23 years ago
Marcus Boerger
1c00296cc7
Bugfix #27104 CLI/CGI SAPI module variable name conflict
23 years ago
Ilia Alshanetsky
c6a2a19051
Proper win32 fix.
23 years ago
Rui Hirokawa
815fe886b8
fixed a compilation error.
23 years ago
Ilia Alshanetsky
9c1be88844
Fixed win32 build.
Fixed building of libfcgi when PHP is built from another directory.
Added missing headers needed for wait().
Removed duplicate signal.h header.
Removed unneeded variables.
23 years ago
Ilia Alshanetsky
242296faeb
Fixed bug #26758 (FastCGI exits immediately with status 255).
23 years ago
Ilia Alshanetsky
0f9d01d8ac
Fixed bug #27026 (Added cgi.nph that allows forcing of the Status: 200
header that is not normally needed).
23 years ago
Ilia Alshanetsky
67dd730546
Fixed bug #27196 (Missing content_length initialization in apache 2 sapis).
23 years ago
Ilia Alshanetsky
c858a4e93c
Fixed possible memory leak with INI values.
23 years ago
Ilia Alshanetsky
ffd3b1dd0a
Parse command line ini directives passed using -d before -i, to ensure
correct settings output.
23 years ago
Ilia Alshanetsky
dfaa06dbd7
Apache 2 portion of the fix for bug #25753 .
23 years ago
Ilia Alshanetsky
7d31f3772c
Fixed bug #27037 (fixed possible crash in apache2handler output code).
23 years ago
Rasmus Lerdorf
a61c2d667c
Fix applies to apache_hooks sapi as well. See bug #25753 for details.
23 years ago
Rasmus Lerdorf
44df89f00d
MFB - see bug #25753 for details
23 years ago
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
23 years ago
Alex Leigh
036e3663f0
Changed to mixed-case response header codes. This is in keeping with
the changes to >= Continuity mk4 mod1.
23 years ago
Wez Furlong
31f7699a85
Add optional php-win.exe variation of the CLI sapi.
php-win.exe runs in the windows GUI subsystem, and thus
has no console; stdio handles are effectively set to /dev/null
and no "dos box" will appear on screen when running scripts
using this sapi (php-gtk people will be familiar with this concept).
Aside from those differences, php-win.exe is 100% identical to
regular CLI
23 years ago
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
23 years ago