Rasmus Lerdorf
afa9e65ff4
Damn, went to head instead of the branch - revert
2001-09-06 23:35:39 +00:00
Rasmus Lerdorf
6a2d84ba06
Oops, forgot to add sapi_apache.c to the apache_hooks branch
2001-09-06 23:32:59 +00:00
Sterling Hughes
198e6f3ea7
no need to cast a 'HashTable *' to 'HashTable *'
2001-09-06 22:51:47 +00:00
foobar
e29994166a
WS
2001-08-31 22:03:24 +00:00
Zeev Suraski
6bba521dd3
API update
2001-08-31 14:34:40 +00:00
Doug MacEachern
23f1b515a6
add php version component
2001-08-28 06:23:27 +00:00
Doug MacEachern
c614a9ed3d
not all MPMs support child_init,
...
so move php_apache_server_startup to the post_config phase
(happens at server startup)
2001-08-28 06:19:58 +00:00
Sterling Hughes
766de15694
Add some editor modes (in the rest of the source)
2001-08-22 04:45:51 +00:00
Zeev Suraski
e140b35b04
API update
2001-08-21 12:57:53 +00:00
Doug MacEachern
9b137805c8
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
2001-08-20 16:34:45 +00:00
Shane Caraveo
108633e1ab
Windows compilation of fast cgi now working. See windows.txt for info.
2001-08-20 05:00:05 +00:00
Doug MacEachern
4829b93fb2
php_input_filter needs to ignore proxy requests
...
else it swallows POST data that needs to be sent to the downstream server
2001-08-19 21:07:50 +00:00
Sterling Hughes
ba4a1f2df2
Pass on proxy requests (fix by Doug MacEachern <dougm@covalent.net>)
2001-08-19 20:28:36 +00:00
Sterling Hughes
244c9ff3c9
Fix warning (Doug MacEachern, dougm@covalent.net)
2001-08-18 01:59:38 +00:00
Sterling Hughes
353f84c190
# f*ck @!e333u49/&§&$T§$&("E""! expandtab, that's it, the default in my
...
# vimrc is not noet
2001-08-18 01:36:29 +00:00
Sterling Hughes
0e12954669
fix crash bug (Doug MacEachern, dougm@covalent.net)
2001-08-18 01:34:19 +00:00
Ryan Bloom
1543904d71
Fix a seg fault in PHP. If a child process is created in the server,
...
using apr_proc_create, it will seg fault, because PHP is using a NULL
child cleanup. To fix this, we have to use the special cleanup function,
apr_pool_cleanup_null.
This also fixes a compiler warning in the ap_log_error call.
2001-08-17 22:25:13 +00:00
Sterling Hughes
fe7b5a3434
darn noet
2001-08-16 06:09:12 +00:00
Sterling Hughes
b87834a12d
Ryan Bloom's fix of my fix. ;)
2001-08-16 06:05:57 +00:00
Sterling Hughes
9395f0e6e2
Fix error logging
2001-08-16 05:19:29 +00:00
Zeev Suraski
8021e65569
Revert an old bogus patch
2001-08-14 23:17:02 +00:00
Daniel Beulshausen
388dfa0483
TSRMLS fixes
2001-08-14 17:31:00 +00:00
Daniel Beulshausen
21cac086e4
TSRMLS fixes
2001-08-14 17:16:19 +00:00
Daniel Beulshausen
ba761ce9b1
TSRMLS fixes
2001-08-14 17:05:53 +00:00
Sascha Schumann
0ccda62835
use an absolute path for symlinking the php library archive
2001-08-14 09:37:25 +00:00
Thies C. Arntzen
e8e401bc2d
ypo;-)
2001-08-14 08:33:21 +00:00
Sascha Schumann
98304ba6a0
Use a symlink instead of copying the +6MB library archive during install
2001-08-13 22:34:25 +00:00
Sascha Schumann
96aa97f8b4
Don't display egrep result
2001-08-13 22:17:18 +00:00
Sascha Schumann
f42acb0cd6
whoops, forgot to apply cgi/poll patch before diff'ing
2001-08-13 22:01:55 +00:00
Sascha Schumann
7efc4d8b54
Add check for thttpd-2.21b. We support nothing else for now, because
...
this version is rock-stable using the combined set of patches.
2001-08-13 21:57:31 +00:00
Sascha Schumann
75c22e9a4a
improved thttpd-2.21b patch.. I got tired of applying my patches for
...
these bugs.
fixes poll(2) issue
fixes hanging cgi issue
fixes off-by-one in scanning input buffers in case of EAGAIN/EWOULDBLOCK
fixes potential bug in managing write buffers
add "index.php" to default files to look for
2001-08-13 21:55:21 +00:00
Zeev Suraski
1e125df0d1
Reverse patches that slipped in by mistake in a whitespace patch. They
...
require some more work...
2001-08-13 00:36:16 +00:00
Zeev Suraski
f6f6c4d7e6
Whitespace
2001-08-11 16:39:07 +00:00
foobar
18c893d0df
killed compile warnings.
2001-08-10 08:36:21 +00:00
Zeev Suraski
6ecae422c4
Use zend_first_try
2001-08-08 14:01:22 +00:00
Sascha Schumann
64c4456cca
A CRLF at the end of a line is not so wrong.
2001-08-07 08:35:54 +00:00
Sascha Schumann
61618d4a03
The module usually did not send out Content-Type: text/html.
...
No major browser seems to care, Opera does though.
2001-08-07 08:34:02 +00:00
Frank M. Kromann
96607ebd1a
Adding missing TSRMLS_CC
2001-08-06 16:53:16 +00:00
Sascha Schumann
480ffb3d75
more tsrm cleanup
2001-08-05 16:43:57 +00:00
Sascha Schumann
b349df6364
some more eliminate-fetches-or-escalate-them-at-least
2001-08-05 16:21:33 +00:00
Sascha Schumann
373b3e101e
more tsrm cleanup -- output.c is not doing any fetches anymore
2001-08-05 15:55:43 +00:00
Sascha Schumann
8aef193056
more tsrm cleanup
2001-08-05 15:29:47 +00:00
Sascha Schumann
2cce13fd50
further tsrm cleanup
2001-08-05 14:27:39 +00:00
Sascha Schumann
0af7ad15f5
further tsrm cleanup
2001-08-05 14:17:55 +00:00
Thies C. Arntzen
578c395411
delay module_shutdown even further. zend_try and _catch need the current
...
globals as well.
zeev, is this a chicken & egg problem?
2001-08-05 14:07:33 +00:00
Thies C. Arntzen
0fe837b448
module_shutdown() calls ts_free_thread in ZTS mode. so SG() cannot be accessed
...
afterwards.
2001-08-05 14:04:23 +00:00
Sebastian Bergmann
7168c31482
Even more TSRM cleanup.
2001-08-05 13:26:54 +00:00
Sebastian Bergmann
47b26817fb
More tsrm-related cleanup.
2001-08-05 12:36:13 +00:00
Sascha Schumann
7263485576
tsrm-related cleanup
2001-08-05 10:32:48 +00:00
Sebastian Bergmann
2126ed210e
Fixed some TSRMLS_CC instances (at least it looked odd to me the way it was before).
2001-08-05 05:40:43 +00:00
Sebastian Bergmann
a70ecedb33
Remove more duplicate TSRMLS_FETCH() calls.
2001-08-05 05:35:06 +00:00
Zeev Suraski
1159c84ab7
- TSRMLS_FETCH work
...
- whitespace fixes
2001-08-05 01:43:02 +00:00
Sebastian Bergmann
b99798fda0
Another one bites the dust.
2001-08-04 17:07:16 +00:00
Sebastian Bergmann
b5763a70a6
Remove duplicate TSRMLS_FETCH() call.
2001-08-04 17:02:43 +00:00
Zeev Suraski
2ec440078a
Get rid of a couple of bogus persist_alloc()'s, and some cleanup
2001-08-03 07:15:14 +00:00
Sebastian Bergmann
25076098c0
Revert whitespace patch.
2001-08-03 05:05:47 +00:00
Sebastian Bergmann
fcfea1c55d
Whitespace fixes.
2001-08-02 15:16:43 +00:00
Sebastian Bergmann
010c3b44ed
Fix Apache2Filter build.
2001-08-02 15:14:30 +00:00
Zeev Suraski
12318a2068
Fix Apache/ZTS build
2001-08-01 22:53:26 +00:00
Sterling Hughes
e7ea61ad98
remove duplicate TSRMLS_FETCH()
2001-07-31 23:44:20 +00:00
Zeev Suraski
b1de7fc900
More TSRMLS_FETCH annihilation. Enough for today...
2001-07-31 07:09:49 +00:00
Zeev Suraski
bc42c37513
More TSRMLS_FETCH work. Got it under 400 now.
2001-07-31 06:28:05 +00:00
Zeev Suraski
d76cf1da18
More TSRMLS_FETCH work
2001-07-31 04:53:54 +00:00
Thies C. Arntzen
b1cc3bd1d6
fix compile
2001-07-30 14:52:16 +00:00
Thies C. Arntzen
5f6e3db13f
compile fix
2001-07-30 14:25:29 +00:00
Zeev Suraski
c43806f415
Zend compatibility patch
2001-07-30 08:24:42 +00:00
Zeev Suraski
797a079a95
More TSRMLS_FETCH work, and a bit of cleanup
2001-07-30 06:18:13 +00:00
Zeev Suraski
7b1c400631
More TSRMLS_FETCH annihilation (Zend compatibility patch)
2001-07-30 04:58:07 +00:00
Zeev Suraski
1c25b8dd53
Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way
2001-07-30 01:56:43 +00:00
Rasmus Lerdorf
15ae74d3ba
Fix typo
2001-07-28 14:01:24 +00:00
Zeev Suraski
dde79b86c5
Build fix
2001-07-28 12:05:15 +00:00
Zeev Suraski
63829bc949
Some more fixes
2001-07-28 12:02:42 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Zeev Suraski
fe6f8712a4
- Get rid of ELS_*(), and use TSRMLS_*() instead.
...
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Zeev Suraski
e280c3e555
Fix a corrupted memory access
2001-07-27 07:37:16 +00:00
Sascha Schumann
7c43206fb8
Remove unneeded variables
2001-07-26 18:10:38 +00:00
Zeev Suraski
536a53356d
Get rid of the redundant global startup code
2001-07-24 20:30:37 +00:00
Sascha Schumann
a95101669d
Handle file buckets for now; that allows us to pass something to the
...
engine which it can handle.
2001-07-23 04:50:13 +00:00
Sascha Schumann
36c2353046
Remove accidentially committed line
2001-07-23 02:39:59 +00:00
Sascha Schumann
bd573e42ad
Call php_request_shutdown only, if the startup was successful.
2001-07-23 02:06:16 +00:00
Sascha Schumann
36be1040eb
Use synchronous php_request_shutdown in the standard case and
...
let the pool cleanup function only become effective, when an
error has occured.
This fixes the problem that the request_conn was already dead
when the request_shutdown was reached.
2001-07-23 01:03:22 +00:00
Zeev Suraski
6fa5ac832f
Fix Apache build
2001-07-21 16:18:03 +00:00
Andi Gutmans
4715403906
- Fix __FILE__ in the main script in CGI/command line mode.
2001-07-21 15:11:30 +00:00
Zeev Suraski
336004f4bc
Improved bailout mechanism, supports nested bailouts a-la try..catch
...
Note: You may *not* return directly from a catch block
2001-07-21 14:27:56 +00:00
Holger Zimmermann
7213492b3a
Updated
2001-07-21 12:23:23 +00:00
Holger Zimmermann
31252e854b
Updated
2001-07-20 22:11:13 +00:00
Holger Zimmermann
1b03f89fa0
Updated
2001-07-20 21:10:57 +00:00
Holger Zimmermann
a088c2e19d
Updated PHP mode, fixed indent mode, added syntax check mode
2001-07-20 21:00:17 +00:00
Zeev Suraski
85b4df53c0
Improved interactive mode - it is now available in all builds, without any significant slowdown
2001-07-15 14:08:58 +00:00
Zeev Suraski
551f1831a7
Fix a major thread safety bug in the output mechanism
...
@- Fixed a major memory corruption bug in the thread safe version (Zeev)
2001-07-02 18:17:10 +00:00
Ben Mansell
c053f12207
Fix FastCGI shutdown for MacOSX, it didn't want to die.
2001-07-02 12:37:47 +00:00
Ben Mansell
d5cf0abac3
Make the FastCGI module behave nicer when trying to shut it down. If you
...
kill the parent process, then it will kill all its kiddies for you.
Also, now refuses to run as a CGI (since it doesn't work that way), and
corrected a few debug messages.
2001-06-30 17:03:52 +00:00
Sascha Schumann
e6d153f6c4
Support for handling multiple concurrent requests.
2001-06-23 16:27:56 +00:00
Sascha Schumann
0bbe77309d
Accomodate an Apache API change
2001-06-22 23:20:49 +00:00
Zeev Suraski
8332ab409a
Spit out errors
2001-06-21 14:18:23 +00:00
Sascha Schumann
e843e8c5f0
Move PHP_TARGET_RDYNAMIC check to global acinclude.m4 and use it
...
in thttpd's config.m4.
2001-06-15 12:53:20 +00:00
David Hedbor
6b0f88e828
Fix segfault when env vars are missing.
2001-06-08 16:31:22 +00:00
Sebastian Bergmann
49ab8cb8f1
Remove bogus '.'.
2001-06-06 13:24:17 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Martin Kraemer
f2002d3e41
Oops, sorry. I should not have committed this ebcdic fix (which was none)
2001-06-01 12:58:41 +00:00