diff options
| -rw-r--r-- | php.ini-dist | 6 | ||||
| -rw-r--r-- | php.ini-recommended | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/php.ini-dist b/php.ini-dist index 7590eda835..bab338132e 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -398,6 +398,12 @@ default_mimetype = "text/html" ; Always populate the $HTTP_RAW_POST_DATA variable. ;always_populate_raw_post_data = On +; Allow handling of WebDAV http requests within PHP scripts (eg. +; PROPFIND, PROPPATCH, MOVE, COPY, etc..) +; If you want to get the post data of those requests, you have to +; set always_populate_raw_post_data as well. +;allow_webdav_methods = On + ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/php.ini-recommended b/php.ini-recommended index 4fd542c769..5c20ba6f54 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -412,6 +412,12 @@ default_mimetype = "text/html" ; Always populate the $HTTP_RAW_POST_DATA variable. ;always_populate_raw_post_data = On +; Allow handling of WebDAV http requests within PHP scripts (eg. +; PROPFIND, PROPPATCH, MOVE, COPY, etc..) +; If you want to get the post data of those requests, you have to +; set always_populate_raw_post_data as well. +;allow_webdav_methods = On + ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; |
