MFH: make sure ext/standard is down before ext/session (fixes #38534)

This commit is contained in:
Antony Dovgal 2006-08-28 19:57:57 +00:00
parent ecfa880820
commit 7384c12b11
2 changed files with 9 additions and 1 deletions

2
NEWS
View File

@ -11,6 +11,8 @@ PHP NEWS
low). (Dmitry)
- Fixed bug #38535 (memory corruption in pdo_pgsql driver on error retrieval
inside a failed query executed via query() method). (Ilia)
- Fixed bug #38534 (segfault when calling setlocale() in userspace session
handler). (Tony)
- Fixed bug #38524 (strptime() does not initialize the internal date storage
structure). (Ilia)
- Fixed bug #38511, #38473, #38263 (Fixed session extension request shutdown

View File

@ -3800,9 +3800,15 @@ PHP_INI_BEGIN()
PHP_INI_ENTRY_EX("safe_mode_allowed_env_vars", SAFE_MODE_ALLOWED_ENV_VARS, PHP_INI_SYSTEM, OnUpdateSafeModeAllowedEnvVars, NULL)
PHP_INI_END()
static zend_module_dep standard_deps[] = {
ZEND_MOD_OPTIONAL("session")
{NULL, NULL, NULL}
};
zend_module_entry basic_functions_module = {
STANDARD_MODULE_HEADER,
STANDARD_MODULE_HEADER_EX,
NULL,
standard_deps,
"standard", /* extension name */
basic_functions, /* function list */
PHP_MINIT(basic), /* process startup */