summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/session/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/session/session.c b/ext/session/session.c
index 27874f72ee..301f8c0948 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -705,13 +705,13 @@ static void php_session_initialize(TSRMLS_D)
int vallen;
if (!PS(mod)) {
- php_error_docref(NULL TSRMLS_CC, E_ERROR, "Failed to initialize session module.");
+ php_error_docref(NULL TSRMLS_CC, E_ERROR, "No storage module chosen - failed to initialize session.");
return;
}
/* Open session handler first */
if (PS(mod)->s_open(&PS(mod_data), PS(save_path), PS(session_name) TSRMLS_CC) == FAILURE) {
- php_error_docref(NULL TSRMLS_CC, E_ERROR, "Failed to initialize session module");
+ php_error_docref(NULL TSRMLS_CC, E_ERROR, "Failed to initialize storage module: %s (path: %s)", PS(mod)->s_name, PS(save_path));
return;
}