diff options
author | Zeev Suraski <zeev@php.net> | 2000-02-10 19:41:21 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-02-10 19:41:21 +0000 |
commit | 6d0ab6166cc1a4eca90211cdfa0ca144704ad677 (patch) | |
tree | ee2b2758afeb47bf3a9648c0067d9b747b91e5b2 /sapi/apache/php_apache_http.h | |
parent | 9709f7ec73557e0a1a85ad3fbc4c73806de50620 (diff) | |
download | php-git-6d0ab6166cc1a4eca90211cdfa0ca144704ad677.tar.gz |
SAPIfication, Episode VI: Return of the SAPI
Remove mostly all references to APACHE and CGI_BINARY from the code.
- Apache include files are no longer included by any PHP code, except for the Apache SAPI module.
- No server specific code is in any of the base PHP code.
Still left to be done:
- Eliminate any references to APACHE from the few remaining modules.
- Move request_info.c's logic to SAPI
- Modify the regex function names, and globals, so that we can always
include them, without having to fear any interference with Apache;
Always use the bundled regex library
Diffstat (limited to 'sapi/apache/php_apache_http.h')
-rw-r--r-- | sapi/apache/php_apache_http.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sapi/apache/php_apache_http.h b/sapi/apache/php_apache_http.h new file mode 100644 index 0000000000..a878b8fa3e --- /dev/null +++ b/sapi/apache/php_apache_http.h @@ -0,0 +1,24 @@ +# if HAVE_AP_CONFIG_H +#include "ap_config_auto.h" +#ifdef RHAPSODY +#undef HAVE_SNPRINTF +#endif +#include "ap_config.h" +#ifdef RHAPSODY +#undef HAVE_SNPRINTF +#define HAVE_SNPRINTF 1 +#endif +# endif +# if HAVE_OLD_COMPAT_H +#include "compat.h" +# endif +# if HAVE_AP_COMPAT_H +#include "ap_compat.h" +# endif +#include "httpd.h" +#include "http_main.h" +#include "http_core.h" +#include "http_request.h" +#include "http_protocol.h" +#include "http_config.h" +#include "http_log.h" |