com php-src: more informative error message for opcache fallback: ext/opcache/shared_alloc_win32.c
| From: | Anatol Belski | Date: | Thu, 07 Jan 2016 16:57:41 +0000 |
| Subject: | com php-src: more informative error message for opcache fallback: ext/opcache/shared_alloc_win32.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90572@lists.php.net to get a copy of this message | ||
Commit: e72848c171a8039b07bf8a2f04420629e170ee33
Author: Anatol Belski <ab@php.net> Thu, 7 Jan 2016 17:57:41 +0100
Parents: 42a145273c0def23cda480fcf4dc48c1ea28d956
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e72848c171a8039b07bf8a2f04420629e170ee33
Log:
more informative error message for opcache fallback
Changed paths:
M ext/opcache/shared_alloc_win32.c
Diff:
diff --git a/ext/opcache/shared_alloc_win32.c b/ext/opcache/shared_alloc_win32.c
index a565465..c71f253 100644
--- a/ext/opcache/shared_alloc_win32.c
+++ b/ext/opcache/shared_alloc_win32.c
@@ -176,7 +176,7 @@ static int zend_shared_alloc_reattach(size_t requested_size, char **error_in)
}
#endif
err = ERROR_INVALID_ADDRESS;
- zend_win_error_message(ACCEL_LOG_FATAL, "Base address marks unusable memory region",
err);
+ zend_win_error_message(ACCEL_LOG_FATAL, "Base address marks unusable memory region. Please
setup opcache.file_cache and opcache.file_cache_callback directives for more convenient Opcache
usage", err);
return ALLOC_FAILURE;
}