summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/opcache/zend_accelerator_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/zend_accelerator_debug.c b/ext/opcache/zend_accelerator_debug.c
index 991f2329da..f91c269975 100644
--- a/ext/opcache/zend_accelerator_debug.c
+++ b/ext/opcache/zend_accelerator_debug.c
@@ -47,7 +47,7 @@ void zend_accel_error(int type, const char *format, ...)
fLog = stderr;
} else {
- fLog = fopen(ZCG(accel_directives).error_log, "a+");
+ fLog = fopen(ZCG(accel_directives).error_log, "a");
if (!fLog) {
fLog = stderr;
}