Mohawk Software's Phoenix library.
Mohawk Software's msession daemon.
-
Building:
-I (regretfully) have not invested the time to make all
-this stuff automatic.
-
In the config.m4 file you will need to specify the include
and library directories for Phoenix. The setting in config.m4
is probably wrong.
-
+You will need phoenix installed and built to compile this
+module.
PHP_SUBST(PHOENIX_LIB)
PHP_EXTENSION(msession, $ext_shared)
+
+ if test "$enable_session" != "no"; then
+ AC_DEFINE(HAVE_PHP_SESSION,1,[ ])
+ fi
fi
#if HAVE_MSESSION
+#ifdef HAVE_PHP_SESSION
PS_FUNCS(msession);
ps_module ps_mod_msession = {
PS_MOD(msession)
};
+#endif
+
// #define ERR_DEBUG
g_conn = NULL;
g_host = g_defhost;
+#ifdef HAVE_PHP_SESSION
php_session_register_module(&ps_mod_msession);
+#endif
return SUCCESS;
}
}
}
+#ifdef HAVE_PHP_SESSION
+
PS_OPEN_FUNC(msession)
{
ELOG( "ps_open_msession");
ELOG( "ps_gc_msession");
return SUCCESS;
}
+#endif /* HAVE_PHP_SESSION */
#endif /* HAVE_MSESSION */