|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-31 17:06 UTC] rasmus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 11 18:00:01 2026 UTC |
trying to build the php4 apache module, fails with an unresolved external sapi_module.. after investigation it became clear that there's been a variable rename that wasn't done at 2 places... see the attached patch for the fix. diff -u -r php4-200007302345/sapi/apache/mod_php4.c php4-200007302345.new/sapi/apache/mod_php4.c --- php4-200007302345/sapi/apache/mod_php4.c Wed Jul 26 20:45:24 2000 +++ php4-200007302345.new/sapi/apache/mod_php4.c Mon Jul 31 11:18:56 2000 @@ -661,7 +661,7 @@ static void apache_php_module_shutdown_wrapper(void) { apache_php_initialized = 0; - sapi_module.shutdown(&sapi_module_conf); + sapi_module_conf.shutdown(&sapi_module_conf); #if MODULE_MAGIC_NUMBER >= 19970728 /* This function is only called on server exit if the apache API @@ -679,7 +679,7 @@ static void php_child_exit_handler(server_rec *s, pool *p) { /* apache_php_initialized = 0; */ - sapi_module.shutdown(&sapi_module_conf); + sapi_module_conf.shutdown(&sapi_module_conf); #ifdef ZTS tsrm_shutdown();