History log of /PHP-5.5/sapi/apache2filter/sapi_apache2.c (Results 101 – 125 of 173)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-4.2.0
# 3aa8a9b6 18-Apr-2002 Aaron Bannert

This patch implements a new Apache2 directive called PHPINIDir that
allows the specification of the php.ini directory from within the Apache
configuration. If left unset, the default is to de

This patch implements a new Apache2 directive called PHPINIDir that
allows the specification of the php.ini directory from within the Apache
configuration. If left unset, the default is to defer to the hard-coded
php paths. When set, the supplied path is made relative to Apache's
internal ServerRoot setting.

Example:
PHPINIDir "conf"
# PHP will now look in the ServerRoot/conf directory for the php.ini file

show more ...


# d11ee7c1 18-Apr-2002 Aaron Bannert

Fix an intermittent SEGV when an error bubbled up from PHP before our
server context was set. Now if that happens we simply don't log against
any particular server config (vhost).

Ob

Fix an intermittent SEGV when an error bubbled up from PHP before our
server context was set. Now if that happens we simply don't log against
any particular server config (vhost).

Obtained from bug report by: Balazs Nagy <js@iksz.hu>

show more ...


# 2e3ce44c 16-Apr-2002 Aaron Bannert

It makes more sense to do the null-pointer check *before* trying to use it.
(Also fix a typo that Cliff pointed out: "safe" --> "save".)

Obtained from: Ryan Morgan <rmorgan@covalent.net>


Revision tags: php-4.2.0RC4
# b21931e6 14-Apr-2002 foobar

ws fixes


# bf8bb929 12-Apr-2002 Aaron Bannert

Fix a typo and a build error detected by the lovely HPUX11 ANSI C compiler.


Revision tags: php-4.2.0RC3
# 22fb5073 11-Apr-2002 Aaron Bannert

Fix a problem where php-generated data was pushed down the entire output
filter chain instead of just down the rest of the chain. This fix will
speed up some unnecessary overhead introduced i

Fix a problem where php-generated data was pushed down the entire output
filter chain instead of just down the rest of the chain. This fix will
speed up some unnecessary overhead introduced in the last patch.

Suggested by: Cliff Woolley <jwoolley@apache.org>

show more ...


# 27a5b380 11-Apr-2002 Aaron Bannert

PHP filters and Apache 2 aren't quite a perfect match yet, so we have
to do some trickery with the server_context to make sure it is always
valid within the current thread.

This patc

PHP filters and Apache 2 aren't quite a perfect match yet, so we have
to do some trickery with the server_context to make sure it is always
valid within the current thread.

This patch makes sure the server_context is created in apache's
post_read_request hook phase, and then registeres a cleanup that
will NULL out the server context when the request goes out of scope.
Then, inside the output filters, if the server_context is null we
throw an error. Finally, instead of saving the output filter in
the server_context, now we store the entire request_rec pointer
in there.

POST bodies appear to be working now, although they are very inefficient.
The input filter is still just realloc()ing for whatever data comes
down the input pipe, and then sending this to PHP. This means that
we are doing some really nasty memory management on big POST bodies.
For now this it allows for unlimited input bodies, which means that
a big POST could potentially DoS a box by making it run out of memory.
We might want to put a limit on here just in case, at least until
we figure out how to consume input data more efficiently into php.

show more ...


# caf7f3d4 11-Apr-2002 Aaron Bannert

Don't depend on the context provided by the filter (f->ctx) anymore. In
Apache 2 the input and output filter contexts are kept unique. We now
only depend on SG(server_context) for each reques

Don't depend on the context provided by the filter (f->ctx) anymore. In
Apache 2 the input and output filter contexts are kept unique. We now
only depend on SG(server_context) for each request, and assume that
the same thread will process the entire request. At some point it
would be wise to separate the input and output contexts.

show more ...


# d19fd6a0 11-Apr-2002 Aaron Bannert

Return the number of bytes consumed, not the number of bytes left.

Suggested by: Brian Havard <brianh@kheldar.apana.org.au>


# 38af983c 11-Apr-2002 Sebastian Bergmann

Patch by Aaron Bannert <aaron@clove.org> and Cliff Woolley <jwoolley@virginia.edu>.


Revision tags: php-4.2.0RC2
# eab1211e 29-Mar-2002 Doug MacEachern

adjust to recent apr bucket api changes


Revision tags: php-4.2.0RC1, help
# 118761e1 13-Mar-2002 Sebastian Bergmann

Sync with Apache2 Filter API change.


Revision tags: php-4.1.2, BEFORE_NEW_OBJECT_MODEL, PRE_ISSET_PATCH
# a1b21e0c 25-Jan-2002 Doug MacEachern

adjust to ap_get_brigade() API change


# cb0a0980 20-Jan-2002 Doug MacEachern

adjust to ap_get_brigade and input filter api changes


Revision tags: php-4.1.1, PRE_FUNC_RETURNS_OBJECT_PATCH, ChangeLog
# 38933514 11-Dec-2001 Sebastian Bergmann

Update headers.


Revision tags: php-4.1.0, php-4.1.0RC5, php-4.1.0RC4
# d30044c9 29-Nov-2001 Sterling Hughes

Update to the latest apr api (patch by Clif Woolley)


Revision tags: php-4.1.0RC3
# 898099ad 13-Nov-2001 Doug MacEachern

setup standard CGI variables


Revision tags: php-4.1.0RC2, POST_PARAMETER_PARSING_API, PRE_PARAMETER_PARSING_API, php-4.1.0RC1, php4, php-4.0.7RC3
# eb38ca84 27-Sep-2001 Jeroen van Wolffelaar

Undo Z_ subst for sapi and ext/yaz


Revision tags: POST_SUBST_Z_MACROS
# c0332885 25-Sep-2001 Jeroen van Wolffelaar

Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.


Revision tags: PRE_SUBST_Z_MACROS
# d504c7ca 10-Sep-2001 Daniel Beulshausen

let apache2 filter build under win32


# 78747bd2 09-Sep-2001 Derick Rethans

- Don't wrap lines... this is annoying while coding.


Revision tags: php-4.0.7RC2
# 23f1b515 28-Aug-2001 Doug MacEachern

add php version component


# c614a9ed 28-Aug-2001 Doug MacEachern

not all MPMs support child_init,
so move php_apache_server_startup to the post_config phase
(happens at server startup)


# 766de156 22-Aug-2001 Sterling Hughes

Add some editor modes (in the rest of the source)


# 9b137805 20-Aug-2001 Doug MacEachern

automatically add php input/output filters when give the standard 1.x config:
AddType application/x-httpd-php .php
with that, no longer need "Set{In,Out}putFilter PHP" configuration for

automatically add php input/output filters when give the standard 1.x config:
AddType application/x-httpd-php .php
with that, no longer need "Set{In,Out}putFilter PHP" configuration for 2.0

show more ...


1234567