Moriyoshi Koizumi
edac258751
Possible fix for bug #23455 (patch by rrichards@digarc.com)
23 years ago
Ilia Alshanetsky
f7d72d178d
Fixed bug #23232 (safe_mode does not honor PHP_AUTH_* in apache2)
23 years ago
Stanislav Malyshev
6f08d5e759
Make Apache 2 define SG(request_info).path_translated like Apache 1 did.
23 years ago
Sterling Hughes
3f700e58ab
update php module name to php5, not php4.
apache, apache2* and cli/cgi work.
sapi module maintainers should fix up their sapis, as I don't run
any servers with php outside of apache.
23 years ago
foobar
7e0aea7efe
CS fix
23 years ago
Ian Holsman
0cef2e7df8
change to a pool-based bucket instead of a transient one.
23 years ago
Ian Holsman
c5fd930eea
remove flush from standard unbuffered write.
people requiring a flush can turn implicit flush on.
Thanks ilia for benchmarking this!
23 years ago
Edin Kadribasic
5d381f8f80
MFB and more. Fixed various win32 compilation issues. Also the sapi
is now built as php4apach2.dll since the filter is being obsoleted.
23 years ago
Ilia Alshanetsky
519721851f
Fixed bug #22805 (Reading of user input could stop prematurely).
23 years ago
foobar
6121c846b3
whitespace..
23 years ago
Ian Holsman
2697be632c
PR#22672 - User not logged under Apache2
patch provided by Andrew Bradford.
23 years ago
Ilia Alshanetsky
97418f59bd
CS Fixes.
Fixed a bug with 404 handling.
Added more detailed Apache info for phpinfo().
Added the support for last_modified.
23 years ago
foobar
45964cb629
- Fix for some unixware compile problem. (comment by Sascha :)
23 years ago
Justin Erenkrantz
a7df9995cc
Add xbithack support to apache2handler SAPI.
(configuration doesn't work, but that's not something new apparently.)
23 years ago
Justin Erenkrantz
9729930343
Clean up apache2handler SAPI.
Key improvements:
- Be streamy
- Re-enable virtual() support
- Set content_type correctly
- Remove unnecessary code and reintroduce some missing code
- Change signature from PhP to PHP
23 years ago
Ian Holsman
ec68ed4aee
initial checkin of the apache2 SAPI using a handler instead of filters.
TBD: src highlighting
better post handling
23 years ago
Moriyoshi Koizumi
59be236a8e
Removed unnecessary code
23 years ago
Ilia Alshanetsky
835e6481e4
Fixed bug #17868 (more then the <!--include--> directive used to include
a PHP file would result in a crash).
23 years ago
Anantha Kesari H Y
c1498d7a15
Modifications for NetWare.
23 years ago
Sebastian Bergmann
2c5d4b8c23
Bump year.
23 years ago
Ilia Alshanetsky
87e598e835
Changed ifdef to if.
23 years ago
Ilia Alshanetsky
6f6bc82de7
Fixed bug #21045 (Apache 2 SAPI now supports the mod_php_memory_usage
log variable that allows users to log the memory usage of their PHP scripts).
23 years ago
Ilia Alshanetsky
967d64ade5
Fixed bug #17098 (make Apache aware that PHP scripts represent dynamic data
and should not be cached). Fix suggested by daniel.eckl@gmx.de .
23 years ago
Moriyoshi Koizumi
9dc6f0c5f2
Made auth information inaccessible under safe mode as discussed in the list
24 years ago
Moriyoshi Koizumi
4456b3274f
WS
24 years ago
Moriyoshi Koizumi
f4883b916c
Added some notes about the brigade bug detection
24 years ago
Moriyoshi Koizumi
978340cfa5
An intuitive attempt to hunt the bug.
24 years ago
Ilia Alshanetsky
04a16f914c
Replaced deprecated APR_BRIGADE_FOREACH macro.
24 years ago
foobar
dd53efc196
- Made the STANDARD_SAPI_MODULE_PROPERTIES be what it says it is.
24 years ago
James Cox
a63d607f08
adding id tags
24 years ago
Sascha Schumann
ac4d1a1927
fix obvious copy&paste error
24 years ago
Ilia Alshanetsky
f7b15b0611
Added support for 'engine Off' directive
Added support for 'none' option for *_value options.
24 years ago
Ilia Alshanetsky
8361687a4a
Fixed a bug with .phps handler.
24 years ago
Ilia Alshanetsky
29be52fbfb
A slightly better content-type check.
24 years ago
Ilia Alshanetsky
9f2b70d507
Added .phps support to Apache 2. It can be enabled by adding
AddType application/x-httpd-php-source .phps
to httpd.conf
24 years ago
Ilia Alshanetsky
44d42b8e13
Fixed bug #17466
24 years ago
Ilia Alshanetsky
8a1556b3a1
Fixed bug #17662
24 years ago
Zeev Suraski
b23adfb43b
Fix double initialization
24 years ago
Zeev Suraski
76312b4508
another startup initialization fix - only ISAPI and CGI SAPI's tested,
minor compile buglets might occur in other SAPIs, but should be trivial
to fix...
24 years ago
Derick Rethans
2fda2eb4a8
- YAAC: I hope this is the last one!
24 years ago
Rasmus Lerdorf
890e01bebe
@ Add runtime Apache2 thread check to ensure we don't run a non-threaded
@ PHP inside a threaded Apache2 MPM. (Rasmus)
24 years ago
Rasmus Lerdorf
8a2ab01744
@ Turn off ZTS if Apache2 is using the prefork MPM. (Rasmus)
24 years ago
Stefan Esser
44a5b43b79
Fixing the same possible memory leak.
24 years ago
Sascha Schumann
5e148e3875
too many flushes are bad
24 years ago
Aaron Bannert
8e176a10fc
Fix a graceful restart SEGV. We no longer only perform initialization
on the second pass through the post_config. Now we only avoid the
initialization only on the first DSO load, and on all subsequent loads
we rerun the init code.
24 years ago
Aaron Bannert
b759322411
Fix an elusive and intermittent startup SEGV. The problem was
the static string we were using to set an initialization flag
would get remapped to a different location when Apache reloaded
the DSO, causing us to not run our initialization routines.
Submitted by: Justin Erenkrantz <jerenkrantz@apache.org>
Reviewed by: Aaron Bannert (I added the big comment too)
24 years ago
Aaron Bannert
b2f9b6fb16
Apache does a full load, unload, load cycle for each DSO module.
This patch makes sure that any startup actions that are performed
for PHP don't happen until the second load (the second call to
the post_config hook), and it also prevents subsequent calls
to the initialization routines.
Suggested By: Cliff Woolley
PR: 16475, 16754
24 years ago
Aaron Bannert
3aa8a9b62b
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
24 years ago
Aaron Bannert
d11ee7c1ea
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>
24 years ago
Aaron Bannert
2e3ce44c80
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>
24 years ago