note 124115 added to ini.core
| From: | diamondeagle at webmail dot co dot za | Date: | Thu, 15 Aug 2019 11:14:53 +0000 |
| Subject: | note 124115 added to ini.core | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-211888@lists.php.net to get a copy of this message | ||
Note regarding the upload_tmp_dir setting and UNC Paths:
When using PHP on Windows OS and IIS FastCGI, if you need to use a UNC path to a folder on a network
drive for the upload_tmp_dir setting then you must use three \ characters at the front of the UNC
path.
Windows and PHP use the first slash as an escape character, so if you only use two slashes then it
passes a UNC path with just one backslash. That is not valid for UNC paths and you many experience
problems when uploading files, such as errors saying that "PHP is missing a temporary
folder".
Correct:
upload_tmp_dir = "\\\path\to\your\folder"
Incorrect:
upload_tmp_dir = "\\path\to\your\folder"
----
Server IP: 208.43.231.9
Probable Submitter: 185.85.3.195 (proxied: 163.202.51.17)
----
Manual Page -- http://php.net/manual/en/ini.core.php
Edit -- https://master.php.net/note/edit/124115
Del: integrated -- https://master.php.net/note/delete/124115/integrated
Del: useless -- https://master.php.net/note/delete/124115/useless
Del: bad code -- https://master.php.net/note/delete/124115/bad+code
Del: spam -- https://master.php.net/note/delete/124115/spam
Del: non-english -- https://master.php.net/note/delete/124115/non-english
Del: in docs -- https://master.php.net/note/delete/124115/in+docs
Del: other reasons-- https://master.php.net/note/delete/124115
Reject -- https://master.php.net/note/reject/124115
Search -- https://master.php.net/manage/user-notes.php