| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
implementation now has its own directory under sapi/, just like
extensions have theirs under ext/. To make the final targets appear
in the main dir, the top-level Makefile includes sapi/NN/Makefile.inc
from the selected sapi backend. This is a plan Makefile stub without
any autoconf substitutions. Each SAPI backend also has its own
config.m4 like extensions (read at the end of diversion 2) and
config.h.stub files.
Each SAPI backend has to contain:
config.m4: just like for extensions, this file contains
autoconf/automake directives that end up in the configure script. The
only difference is that the sapi config.m4 files are read in diversion
(output block) 2 instead of 3. The sapi config.m4 files should set
two variables: PHP_SAPI (which sapi backend to choose) and SAPI_TARGET
(the name of the resulting library or program, previously BINNAME).
If they are not specified, they will default to "cgi" and "php",
respectively.
Makefile.inc: has to exist, has to define "INSTALL_IT" to the command
used to install the final target (or ":" for no operation). It also
has to define a plain Makefile rule (without autoconf substitutions)
to build $(SAPI_TARGET)
Makefile.am: just what you think. Make sure your target is called
"libphpsapi_NNN.a", where NNN is the value of PHP_SAPI.
Some testing and fixing probably remains. To make everything hang
together, I've done some ugly tricks that I can imagine causing some
problems. I've built and run the CGI version and built the Apache
DSO.
|
|
|
|
|
| |
- Introduce the convert_to_*_ex() API in strlen()
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
it should be used. After adding this, the CGI version works for me
w/ Apache + suexec
|
| |
|
|
|
|
|
| |
php3_compat.h)
|
| |
|
| |
|
|
|
|
|
| |
- Import a draft of the new PHP license
|
| |
|
|
|
|
|
| |
* CGI through Apache should work now
|
| |
|
|
|
|
|
|
| |
* re-imported fopen-wrappers, fsock and string code from php3
NB! I have not tested all of the imported functions yet.
|
| |
|
|
|
|
|
| |
* Better handling for multiple repeated memory leaks (libzend updated)
|
| |
|
|
|
|
|
| |
* A failed require() is a compile-time error, consider it as one
|
|
|
|
|
|
| |
* Refine SAPI built in header support
* Use DllMain() in ISAPI to clean after threads and initialize tsrm/sapi as soon as possible.
|
| |
|
| |
|
|
|
|
|
|
| |
This will allow us to efficiently support file upload through SAPI in the future.
* Fixes
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
things.
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
|
|
|
|
|
|
| |
* Warn about adding header information after headers are sent
* Several fixes
|
|
|
|
|
| |
Now Apache is the only interface that doesn't use it.
|
| |
|
| |
|
|
|
|
|
| |
- Some work on moving stuff to SAPI.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Changed PHP4 to compile as a DLL, both ISAPI and the the CGI run with the same DLL.
* Switched to using the DLL runtime library under Win32. PHP will NOT work if
compiled against the static library!
* Removed yesterday's php4libts project (with php4dllts, it's obsolete).
This *does* affect thread-unsafe Windows as well - the thread unsafe CGI is also
dependant on the thread-unsafe DLL.
|
|
|