Zeev Suraski
5673378ea6
- Allow all functions that receive user-defined function callbacks to accept
...
an array that contains an object and a method name, in place of a function
name, e.g. usort($array, array($obj, "ObjSort"))
(I checked the code in array.c and basic_functions.c, other code which uses
call_user_function() may still force the function_name argument to be of type
IS_STRING, which prevents this feature from working - and is no longer necessary)
2000-06-03 04:16:46 +00:00
Anthony Whitehead
678508b426
Added changes suggested by Stanislav Borutsky with respect to NSAPI_PUBLIC.
2000-05-31 14:20:57 +00:00
Sascha Schumann
b470fe138b
The last line added '-I' to INCLUDES, causing all SAPI modules but NSAPI
...
failing to build.
2000-05-31 13:15:58 +00:00
Anthony Whitehead
c6449f307a
Altered NSAPI autoconf to check for location of include files automatically, tested for Netscape 3.x and iPlanet 4.x.
...
Added very basic variable support for usefull things such as PHP_SELF. I'll extend this to supply this rest of the variables soon.
Commited a patch to activate ZTS in the NSAPI module, this patch comes from
Jayakumar Muthukumarasamy.
2000-05-30 13:20:18 +00:00
Andi Gutmans
8c82566b48
- Fix problem in sessions module under Win32. Need to use ; as an options
...
- delimiter in save_path instead of :.
2000-05-27 16:38:49 +00:00
Rasmus Lerdorf
81c4fd5efc
@ Changed the Apache handler's return status to 'Declined' when a requested
...
@ PHP file could not be found. Returning 'Not Found' caused problems
@ in the ErrorDocument handler stage in that $REDIRECT_REDIRECT_ERROR_NOTES
@ was not getting set at all. Moving to 'Declined' shoudl fix this and I
@ can't see any other side effects. (Rasmus)
Changed the Apache handler's return status to 'Declined' when a requested
PHP file could not be found. Returning 'Not Found' caused problems
in the ErrorDocument handler stage in that $REDIRECT_REDIRECT_ERROR_NOTES
was not getting set at all. Moving to 'Declined' shoudl fix this and I
can't see any other side effects.
2000-05-26 18:43:09 +00:00
Zeev Suraski
1895a09749
Only fetch globals if it's necessary (which it usually won't be)
2000-05-25 14:43:30 +00:00
Thies C. Arntzen
e319b5f6a5
@- ignore_user_abort() & friends should now work in CGI mode as well.
...
@ (Patch by daniel.braun@ercom.fr )
2000-05-25 07:01:34 +00:00
Hartmut Holzgraefe
22bfb799a7
-i, -v, -h and -? execution pathes didn't flush the output buffer
...
on exit, resultiong in no output at all when "output-buffering=On"
( BUG id#3420 )
2000-05-22 22:49:18 +00:00
Ben Mansell
d0fd31018b
Fixed check for Zeus under Solaris (/bin/sh doesn't understand '!')
2000-05-22 14:39:33 +00:00
Sam Ruby
767ea7a7e4
use simpler foreach instead of while
2000-05-21 11:26:26 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Sascha Schumann
33789f8cdf
Later AOLserver releases will copy the include to the installation dir.
2000-05-18 13:10:13 +00:00
Sascha Schumann
4a4d185637
Fix build against recent thttpd versions
2000-05-17 17:04:46 +00:00
Zeev Suraski
6d77362190
Fix crash when server_context is not longer valid (e.g., when
...
coming from php_apache_request_shutdown)
2000-05-17 08:11:20 +00:00
Sascha Schumann
f1941064de
Fix wording (not "to apxs", but "of apxs").
2000-05-15 16:43:44 +00:00
Sascha Schumann
13e9da59ff
Complain loudly and stop configuration, if we cannot run apxs.
2000-05-15 16:37:32 +00:00
Sascha Schumann
8ab33a4d13
Use "mkdir -p" instead of "test -d || mkdir" where possible
2000-05-15 16:02:43 +00:00
Ben Mansell
10503a3b92
Define PHP_SELF properly with Zeus+ISAPI
2000-05-15 12:40:12 +00:00
Zeev Suraski
7fc980e1fa
Please maintain consistency in these names... :)
2000-05-14 16:09:32 +00:00
Zeev Suraski
fb20aee667
- Fix a crash bug in case output is generated in the Apache module while
...
in request_shutdown
2000-05-14 16:05:25 +00:00
Sam Ruby
c82eca90f4
Fix typo - thanks to Christian Wenz <christian.wenz@stud.tu-muenchen.de>
2000-05-13 15:26:28 +00:00
Sam Ruby
c32bba9644
build error on Unix
2000-05-11 10:39:28 +00:00
Shane Caraveo
fdb62f9ce7
nsapi now compiles under win32, untested
2000-05-06 23:05:29 +00:00
Shane Caraveo
5797876236
oh boy! apache-win32 works!
2000-05-06 17:59:34 +00:00
Andi Gutmans
0d194ec80b
- Fix problem with sapi_globals being used before it is initialized.
2000-05-05 07:21:48 +00:00
Andi Gutmans
198537b70f
- Make Windows compile again.
2000-05-05 07:18:50 +00:00
Zeev Suraski
0b33ac7627
- Add -z and -g switches to the CGI
2000-05-04 13:42:21 +00:00
Sascha Schumann
d0f3764ee2
Change reentrancy API to always use the php prefix.
...
Check for the declaration of reentrant functions, so that we can use
them in non-ZTS mode on all platforms.
2000-05-04 10:38:17 +00:00
Shane Caraveo
cad04f5579
more apachewin32 work. much better now, but still crashing in zend_execute. At least it's getting the file open now though.
2000-05-04 03:28:34 +00:00
Sascha Schumann
7613e064f8
Remove trailing empty lines
2000-05-01 22:38:42 +00:00
Sascha Schumann
0d36199cf9
Large test commit IV
2000-05-01 22:04:52 +00:00
Sascha Schumann
de2cea47c0
Large commit test III
2000-05-01 22:00:09 +00:00
Rasmus Lerdorf
a3c17cf766
Add initial NSAPI module from Jayakumar Muthukumarasamy
...
@Add initial NSAPI module from Jayakumar Muthukumarasamy
2000-04-30 17:28:24 +00:00
Shane Caraveo
0fc8ff61b2
zeroing the variables fixes one crash...now crashes on memory allocation during zend_compile_files
2000-04-30 04:56:48 +00:00
Shane Caraveo
c7e2d8ef35
sorry, do comments right
2000-04-30 04:21:52 +00:00
Shane Caraveo
8d3ce80f48
apache module now compiles under win32, apache loads, but crashes on line 1167 main.c on page request
2000-04-30 04:15:26 +00:00
Sascha Schumann
953fe189da
Overall UNIX build system improvements:
...
* Makefile header is now completely dynamic
* Absolute paths in (top_)?(src|build)dir and VPATH
(fixes Tru64 support)
* VPATH does not contain variables anymore
(fixes UnixWare support)
2000-04-30 03:20:09 +00:00
Andi Gutmans
9aba6a94d3
- Another PHP_WIN32 patch
2000-04-20 13:43:48 +00:00
Andi Gutmans
f9e9cab7ac
- Change to PHP_WIN32
2000-04-20 13:23:19 +00:00
Thies C. Arntzen
0540bbe5af
improve fix
2000-04-20 07:35:22 +00:00
Frank M. Kromann
429cf808e6
SIGPIPE is unknown on WIN32 platforms
2000-04-19 17:28:23 +00:00
Thies C. Arntzen
19a9577901
ignore SIGPIPE in standalone-mode so that one can actually use fsockopen() *and* have the remote side close the socket whithout PHP dying!
2000-04-19 15:37:43 +00:00
Zeev Suraski
a81e6bc04e
author fixes
2000-04-19 15:21:22 +00:00
Zeev Suraski
708811184d
Improve performance of the PHP_SELF registration under ISAPI
2000-04-19 15:15:33 +00:00
Frank M. Kromann
2e2642cfb3
Adding $PHP_SELF variable for compatibility with other platforms
2000-04-15 19:20:43 +00:00
Sascha Schumann
d748c0827d
SECTION is not defined in info.h anymore
2000-04-15 17:41:25 +00:00
Sascha Schumann
5d72b491c3
Support install directories other than srcdir/root
2000-04-15 17:41:02 +00:00
Sascha Schumann
b128f39837
Add documentation on how to install PHP in AOLserver
2000-04-15 17:40:39 +00:00
Andi Gutmans
c9911a151e
- Change PHP_ to V_ (directory & file functions)
2000-04-15 14:28:48 +00:00