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
Sam Ruby
fd9265362c
Initial alpha-level of sapi/servlet. See README for details.
27 years ago
Sascha Schumann
80cb563d0a
Revert last patch (leak in libzend is fixed now)
27 years ago
Sascha Schumann
6d97609a31
Avoid fd leak which appears when using ZEND_HANDLE_FILENAME
27 years ago
Sascha Schumann
35b30a8d0c
Add reentrant versions of ctime, localtime, gmtime, asctime.
These cannot be implemented platform-independent, so we fall back to the native
non-reentrant versions, but lock during each access (only if ZTS is used).
To initialize/destroy the used data structures, you need to call
reentrancy_startup() before sapi_startup(), and reentrancy_shutdown() after
sapi_shutdown().
27 years ago
Sascha Schumann
2f6ded9ac9
Convert more source files to use thread-safe functions
27 years ago
David Hedbor
cad85534c6
Now the new direct write is enabled too...
27 years ago
David Hedbor
5f5bd0954b
Implemented direct writing to the client's FD if RXML parsing of the result isn't selected.
27 years ago
David Hedbor
353686c9c5
Now ZTS can be used. Unless --enable-roxen-zts is specified at the
configure line the default process global Roxen PHP lock will be
used. In tests this was a lot faster for some reason and until the
reasons are figured out, it's recommended to use the non-thead-safe
version.
Cvs: ----------------------------------------------------------------------
27 years ago
Sascha Schumann
3b2a88d4d4
some cosmetical changes
27 years ago
David Hedbor
9284f73f4f
Removed some forgotten C++ style comments
27 years ago
David Hedbor
df5308e502
Now actually correctly checks for Pike paths etc.
27 years ago
Sascha Schumann
a4c75707fb
- add PHP_BUILD_THREAD_SAFE
- move #undef HAVE_AOLSERVER into its own config.h.stub
27 years ago