summaryrefslogtreecommitdiff
path: root/mod_php4.c
Commit message (Collapse)AuthorAgeFilesLines
* Generalized server-API build process on UNIX. Each SAPIStig Bakken1999-09-271-603/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fixed a memory leak in the Apache per-directory directives handlerZeev Suraski1999-09-201-4/+8
|
* - Added support for unknown POST content types (Zeev)Zeev Suraski1999-09-161-1/+3
| | | | | - Introduce the convert_to_*_ex() API in strlen()
* Fix a buglet, and avoid crashing in phpinfo() (fixes an elusive legacy bug too)Zeev Suraski1999-09-131-1/+3
|
* That's important enough to be cachedZeev Suraski1999-09-121-1/+1
|
* *** empty log message ***Zeev Suraski1999-09-121-1/+3
|
* Correct compiler warning.Jakub Skopal1999-09-081-1/+1
|
* OopsRasmus Lerdorf1999-09-041-1/+1
|
* Might as well bail as soon as we know we should since this is nowRasmus Lerdorf1999-09-041-0/+1
| | | | | | | possible. We still need to set our connection status bit field so a shutdown function can figure out if a script was terminated due to an abort, timeout or finished normally.
* First part of the connection_status work. No user-callable functionsRasmus Lerdorf1999-09-041-4/+9
| | | | | | | | | | | yet. That is coming next. Have also only done Apache and CGI so far. Will have to crack open my ISAPI book to do that one. Also changed the SAPI output functions to return an int. We'll check the connection status inside each one, but we might need the return code at some other level and I don't see a good reason for just tossing these return codes.
* This check actually doesn't make a whole lot of sense. We needRasmus Lerdorf1999-08-281-1/+1
| | | | | | | | something here, but if a mod_auth_* module declines, the type is still set. So, we need a check to see if there have been a non-declined auth hook previously for this request. I will ponder a good approach to this.
* Removed '3' from key functions in PHP (maintained compatibility throughZeev Suraski1999-08-021-1/+1
| | | | | php3_compat.h)
* *** empty log message ***Zeev Suraski1999-07-241-1/+1
|
* Fixed the Apache cookie problem (untested)Zeev Suraski1999-07-211-0/+2
|
* License updateZeev Suraski1999-07-161-20/+9
|
* *** empty log message ***Andi Gutmans1999-07-151-4/+4
|
* *** empty log message ***Andi Gutmans1999-07-151-16/+18
|
* * PHP 3.0 -> 4.0 changesAndi Gutmans1999-07-151-5/+31
| | | | | * Add php_admin Apache directives
* change php4_value and php4_flag to php_value and php_flagZeev Suraski1999-07-141-2/+2
|
* destructors should return 1, shouldn't they?Thies C. Arntzen1999-07-121-2/+3
|
* would be logical to enable display source modeSascha Schumann1999-07-031-1/+1
|
* I got the order wrong earlier :IZeev Suraski1999-06-051-2/+2
|
* * Changed the way INI entries work in Apache to allow .conf entries to work ↵Zeev Suraski1999-05-291-24/+77
| | | | | | | right too. * vpath fixes for standard Apache build
* avoid crashing with php4 directives in .conf files (they still don't work)Zeev Suraski1999-05-291-5/+27
|
* no need for thoseZeev Suraski1999-05-281-2/+0
|
* * Get Apache module to compile again with the regex stuff.Zeev Suraski1999-05-281-1/+8
| | | | | * Get Apache to propertly work with POST, and some SAPI fixes
* Some innocent cleanupsRasmus Lerdorf1999-05-281-34/+34
|
* Time to rename the childZeev Suraski1999-05-221-0/+487