Zeev Suraski
972631be71
- Added flush() support to SAPI
- Got rid of the old flush() implemenetation in favour of the new one
- Added implicit_flush() support to the output buffering layer.
@- Added implicit_flush() to control whether flush() should be called
@ implicitly after any output (Zeev)
27 years ago
Sascha Schumann
304d60c8f3
Move reentrancy initialisation/destruction into SAPI.
These calls only do something, if reentrancy emulation is required.
27 years ago
Sascha Schumann
95cd75dce7
Fix typo
27 years ago
Sascha Schumann
2602a59e87
Replace all += constructs with equivalent ones
27 years ago
Thies C. Arntzen
35286e2922
*** empty log message ***
27 years ago
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
you start counting at 0 or 1).
27 years ago
Zeev Suraski
4765396846
.dsp updates
27 years ago
Zeev Suraski
fce126bcb1
Add new Release_inline builds to Win32. Standard release versions will not use
inline under Win32.
27 years ago
Sascha Schumann
f2f8d38efa
Integration of -ng changes. Changes:
- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
(libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
27 years ago
Sascha Schumann
6bf3529919
Macro syntax has changed
27 years ago
Sascha Schumann
289dc0b6ed
Get rid of some config.h.stubs. Comments are placed into AC_DEFINE()
27 years ago
Sascha Schumann
eb0971609b
Make sapi_module static. This is was the majority of SAPI modules uses.
I wonder how this has worked up to now..
27 years ago
Thies C. Arntzen
3238c7ec2c
*** empty log message ***
27 years ago
Thies C. Arntzen
155fd22de0
not too bad: i can see phpinfo()!
27 years ago
Thies C. Arntzen
f3240be016
SAPI module for phttpd - found at ftp://ftp.netuse.de/pub/phttpd/, ftp://ftp.signum.se/pub/phttpd/
(DOES NOT WORK YET!!)
27 years ago
Ryan Bloom
28ef78e4cb
Beginning work to get PHP 4 to work with Apache 2.0. This change detects
Apache 2.0 properly.
# This is extremely experimental because neither project is release
# quality yet. I expect this to drive bugs out of Apache 2.0's configure
# process as well as provide a useful version of PHP for Apache 2.0, so it
# may take some time for this to become stable. I will commit changes to
# PHP as needed although more modifications will be on the Apache side.
27 years ago
Zeev Suraski
b640c27a08
@- Fixed -c support in the standalone CGI binary (Zeev)
Fixed -c support in the standalone CGI binary (Zeev)
27 years ago
Zeev Suraski
235386b245
Change ALLOC_ZVAL() semantics
27 years ago
Sascha Schumann
fc6c531ec2
Add -rdynamic, if supported by gcc and static Apache build is used
27 years ago
Andi Gutmans
3f6e00e48d
- Use ALLOC_ZVAL() in PHP. Finding the places to put FREE_ZVAL(z) is much
more tricky and I'm not sure how many places this is. zval allocations
were only made directly in 11 places.
27 years ago
David Hedbor
41392f5497
unlock the serializing lock a tad bit later
27 years ago
David Hedbor
f4d14ad69c
Catch errors in the pike version-check script to avoid potential problems
27 years ago
David Hedbor
c07a14a01f
Removed C++ style comment
27 years ago
David Hedbor
4674b6d652
Some fixes in thread safe (ie ZTS) mode - now it actually seems to
work perfectly. Also fixed a couple of typos.
27 years ago
Sascha Schumann
a2276107ab
Some cleanup
27 years ago
Andrei Zmievski
42847f7d5c
Some more php3->php stuff.
27 years ago
Sascha Schumann
ed0a307ccd
Use sapi_module_struct to contain SAPI module name
27 years ago
Sascha Schumann
56a5e84f9d
Add SAPI module for thttpd server. Quote from the README:
This is a SAPI module for PHP 4.0 supporting thttpd, the tiny,
turbo, throttling HTTP server by Jef Poskanzer.
The module contains a patch against version 2.10 of thttpd. The patch
adds hooks to thttpd to call PHP, if a filename matches *.php. This
patch will be applied when you install PHP.
While functional, this module exists primarily to demonstrate the
ability of PHP to work in almost every web server environment.
27 years ago
Zeev Suraski
4d2b0715d1
libzend -> Zend
27 years ago
Zeev Suraski
a3c6514332
More php3_ annihilation
27 years ago
Zeev Suraski
02d3b39420
More php3_ annihilation
27 years ago
Sascha Schumann
1687075373
Make Apache SAPI module compile in ZTS mode
27 years ago
Sascha Schumann
d787ea5346
(php_ns_request_handler) set SG(server_context) to non-NULL
27 years ago
Sascha Schumann
9ac3e94dcc
Reapply configuration for each request
27 years ago
Sascha Schumann
08d762cb0c
(php_ns_config) use 3.0's Ns_ConfigGetPath instead of Ns_ConfigPath
27 years ago
Sascha Schumann
7365698268
Moving APXS-specific checks into respective config.m4. The placement of
`%APXS -q..` caused error messages, if APXS was not used.
27 years ago
Sascha Schumann
969c727b1e
Output information about HTTP headers
27 years ago
Zeev Suraski
7bbe67d25a
@- Fix a crash in the Apache syntax highlighting mode (Zeev)
27 years ago
Sascha Schumann
b47cb50ccd
Separate libpaths into PHP_LDFLAGS, so that we can address them
separately (required for Apache build).
27 years ago
Sam Ruby
eee0bdadc4
Hmmm...must have misplaced the getcwd/chdir logic...
27 years ago
Sascha Schumann
4a60eed469
Fix some warnings
27 years ago
Rasmus Lerdorf
45f9527518
More maintainer-mode cleanups
27 years ago
Sascha Schumann
5b983c944f
Clean up php3.*\.h files. The files itself are renamed, and references in all
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
27 years ago
Sascha Schumann
8713ce5d38
Remove code references to serverapi
27 years ago
Zeev Suraski
da5464b145
- zend_file_handles must now flag whether their .filename property should be
free by Zend or not (uses e*() functions)
27 years ago
Sascha Schumann
639c491da4
Add X-Powered-By header in all configurations to ease PHP usage metering
27 years ago
Sascha Schumann
964bf9f288
(php_ns_sapi_header_handler): use sapi_free_header()
27 years ago
Sam Ruby
4f6a88aa9f
use new PHP_BUILD_THREAD_SAFE macro
27 years ago
Thies C. Arntzen
bc38c052e9
the Zeus-Guys were nice enoug to give us a call similar to DllMain()!
27 years ago
Thies C. Arntzen
d1f21493e1
ISAPI wants to run in ZTS
27 years ago