1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 07:58:20 +02:00
Commit Graph

163 Commits

Author SHA1 Message Date
Ilia Alshanetsky fdc3a171dc MFH 2002-12-09 18:45:37 +00:00
Ilia Alshanetsky b09c1afe0e PHP flags specified in .htaccess can now be turned on by using '1' as well as
'On'.
2002-11-10 19:34:09 +00:00
Sascha Schumann 3f7081c439 Fix debugging description 2002-11-04 13:22:23 +00:00
Ilia Alshanetsky 4886072b4b Fixed bug #20217. When php_flag & php_value are used, the PHP_INI_PERDIR
flag should be used when setting the ini value. Otherwise, the user cannot
modify per-directory ini settings specified via .htaccess.
2002-11-02 23:08:20 +00:00
James Cox a63d607f08 adding id tags 2002-11-02 16:04:27 +00:00
Sascha Schumann b39ca47d20 syntax highlighting has been added 2002-11-02 13:47:27 +00:00
Sascha Schumann 68bb574637 add missing }}} closure 2002-11-02 04:53:31 +00:00
Sascha Schumann ac4d1a1927 fix obvious copy&paste error 2002-11-02 04:35:25 +00:00
Sascha Schumann d554b8d3ab Maintain appropiate line breaks 2002-10-23 10:11:38 +00:00
Ilia Alshanetsky 5c53cdafcb Fixed a bug that caused the values of options/flags set via
httpd.conf/.htaccess and other apache methods to contain a \0 as part of the
value.
2002-10-22 14:02:14 +00:00
Ilia Alshanetsky f7b15b0611 Added support for 'engine Off' directive
Added support for 'none' option for *_value options.
2002-10-22 12:20:12 +00:00
Ilia Alshanetsky 8361687a4a Fixed a bug with .phps handler. 2002-10-16 20:45:36 +00:00
Ilia Alshanetsky 29be52fbfb A slightly better content-type check. 2002-10-04 21:31:34 +00:00
Ilia Alshanetsky 5f67f05d92 Added a note on how to enable .phps support. 2002-10-04 21:22:13 +00:00
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
2002-10-04 21:15:59 +00:00
Ilia Alshanetsky 01830c0d27 Added missing TSRMLS_DC to php_apache_lookup_uri() 2002-10-03 01:28:04 +00:00
Ilia Alshanetsky ca0aced7c9 Added apache_response_headers(), apache_note(), apache_getenv() and
apache_setenv() functions.
The getallheaders() is renamed to apache_request_headers() and an
getallheaders() is aliased to it.
Added a better error reporting mechanism to apache_lookup_uri() and virtual().
2002-10-02 21:22:44 +00:00
Ilia Alshanetsky 44d42b8e13 Fixed bug #17466 2002-09-23 18:51:34 +00:00
David Reid 8dde690042 Allow this to build on beos with it's bizarre linking. 2002-09-23 17:40:04 +00:00
Ilia Alshanetsky 8a1556b3a1 Fixed bug #17662 2002-09-23 04:10:25 +00:00
Zeev Suraski b23adfb43b Fix double initialization 2002-09-21 01:53:15 +00:00
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...
2002-09-18 21:57:42 +00:00
Sascha Schumann 6d643eb035 Break up the INSTALL_IT line into comprehensible pieces
and fix a bug related to [..] quotes.
2002-07-11 14:41:03 +00:00
Sascha Schumann ee619493b3 Use a simple IFS; set step to interprete the httpd -v output 2002-07-11 08:44:42 +00:00
foobar 2ca9ae687d - Fix the version check again. 2002-07-07 15:43:45 +00:00
foobar 999d9aa10f Better fix it here too.. 2002-06-29 00:33:02 +00:00
Sebastian Bergmann 836d9c3e9f Mention Apache 2.0.40. 2002-06-28 15:16:28 +00:00
foobar 21debac333 Require 2.0.40 2002-06-28 14:48:37 +00:00
Derick Rethans 2fda2eb4a8 - YAAC: I hope this is the last one! 2002-06-28 14:45:10 +00:00
foobar f4699170fc Fixed bug: #17491 (honor INSTALL_ROOT) 2002-06-28 09:01:56 +00:00
Rasmus Lerdorf 890e01bebe @ Add runtime Apache2 thread check to ensure we don't run a non-threaded
@ PHP inside a threaded Apache2 MPM.  (Rasmus)
2002-06-24 16:04:20 +00:00
Rasmus Lerdorf 8a2ab01744 @ Turn off ZTS if Apache2 is using the prefork MPM. (Rasmus) 2002-06-24 14:51:01 +00:00
Sander Roobol d279a92242 Made php_admin_value work outside <location> and <directory> blocks. 2002-06-22 15:31:44 +00:00
Stefan Esser 44a5b43b79 Fixing the same possible memory leak. 2002-06-21 14:47:59 +00:00
Sascha Schumann 5e148e3875 too many flushes are bad 2002-06-08 18:11:03 +00:00
Cliff Woolley 46eeabccf7 That macro is and always was hopelessly broken, which is why it's
now deprecated.
2002-05-30 06:07:28 +00:00
Cliff Woolley 8283979afc Allow the version checks for --with-apxs= and --with-apxs2= to work
with development version of Apache, whose version strings end in "-dev",
eg "Apache/2.0.37-dev".

PR: 17233
Submitted by: Dale Ghent <daleg@elemental.org>
2002-05-17 08:07:14 +00:00
Cliff Woolley 57a4a7ed39 apache 2.0's apache_lookup_uri() was returning an array rather than an
object, which contradicted both the documentation and the behavior of the
same function under apache 1.3.

PR: 14999
2002-05-17 06:32:04 +00:00
Cliff Woolley 78cac2a42e * restore the php_flag and php_admin_flag Apache directives which for
some mysterious reason never made their way from sapi/apache to
  sapi/apache2filter when it was first written  PR: 16629
* change the allowed locations of php_admin_value (and php_admin_flag to
  match) to ACCESS_CONF instead of OR_NONE to match sapi/apache.  No
  idea why it was ever OR_NONE.  PR: 16489
2002-05-17 05:16:18 +00:00
Marko Karppinen 5a5767e1d6 Patch by Justin Erenkrantz <jerenkrantz@apache.org> for enabling
--with-apxs2 build on Darwin. Omitting the change to start linking
with libtool for now, though.
2002-05-13 21:37:52 +00:00
Jim Jagielski 8006ee79a3 More verbose but more generic error message when we spot multiple
PHPINIDir directives
2002-05-13 19:22:27 +00:00
Sebastian Bergmann 5192f6432c Patch by Justin Erenkrantz <jerenkrantz@apache.org>. This should be MFHed. 2002-05-11 08:58:20 +00:00
Derick Rethans dedf22f5ad - Added Aaron Bannert as maintainer 2002-05-08 05:17:59 +00:00
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.
2002-05-05 18:15:33 +00:00
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)
2002-05-05 18:11:41 +00:00
Marko Karppinen b7e50782b7 Well that didn't last long! (Reverting previous.) 2002-05-05 09:52:39 +00:00
Marko Karppinen 32ff990c68 Prelim. patch to enable apache2filter to link on Darwin.
Submitted by: Justin Erenkrantz <jerenkrantz@apache.org>
Reviewed by: markonen
# A stopgap measure while we try to find a "real"
# solution, if one exists.
2002-05-05 09:40:31 +00:00
Sascha Schumann 12ba44827a be a bit more verbose about what is wrong 2002-04-26 21:26:47 +00:00
foobar 492efe963f - Fix for bug: #16791. (more reliable test) 2002-04-26 03:07:16 +00:00
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
2002-04-24 00:55:38 +00:00