summaryrefslogtreecommitdiff
path: root/docs/php/caveats.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/php/caveats.md')
-rw-r--r--docs/php/caveats.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/php/caveats.md b/docs/php/caveats.md
new file mode 100644
index 00000000..6bb834c4
--- /dev/null
+++ b/docs/php/caveats.md
@@ -0,0 +1,13 @@
+# Caveats
+
+## Uploading Files
+Since file-upload is handled on RR end PHP process will only receive the filename of temporary resources.
+This resource would not be registered in `uploaded files` hash and, as a result, function `is_uploaded_file` will always return `false`.
+
+> Reference: https://github.com/spiral/roadrunner/issues/133
+
+## Exit and Die functions
+Please note that you should not use any of the following methods `die`, `exit`. Use buffered output if your library requires writing content to stdout.
+
+## WinCache
+Using roadrunner on Windows with WinCache extension might cause worker bytecode to stuck in memory.