summaryrefslogtreecommitdiff
path: root/docs/php/caveats.md
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-09-10 15:21:06 +0300
committerValery Piashchynski <[email protected]>2021-09-10 15:21:06 +0300
commit8b70fb48b2b0a9451d9b82a17ac2f4cd8a1f561e (patch)
tree852cef5775c326f62dac96e8b1f80ef9b75962c2 /docs/php/caveats.md
parent183d0ac682b57f285c9193492e50310046422184 (diff)
Add docs folder
Signed-off-by: Valery Piashchynski <[email protected]>
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.