Edit report at https://bugs.php.net/bug.php?id=55242&edit=1
ID: 55242
User updated by: spamik at yum dot pl
Reported by: spamik at yum dot pl
Summary: upload_tmp_dir should be PHP_INI_ALL since
open_basedir became PHP_INI_ALL
Status: Bogus
Type: Bug
Package: Safe Mode/open_basedir
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
>> Input (including file uploads) processing is done before the script is
>> executed
I know that, if it were not like that I would chagne it myself. Still a valid
bug/feature request.
Previous Comments:
------------------------------------------------------------------------
[2011-09-15 15:57:44] [email protected]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php
Input (including file uploads) processing is done before the script is
executed,
this means any ini_set() calls within the script won't matter. For that reason
the
setting remains as PHP_INI_SYSTEM.
------------------------------------------------------------------------
[2011-07-19 13:23:44] spamik at yum dot pl
Description:
------------
http://pl2.php.net/manual/pl/ini.list.php
since open_basedir is PHP_INI_ALL since 5.3.x it makes no sense that
upload_tmp_dir is still PHP_INI_SYSTEM. Those functions are entwined, even
documentation says so:
"upload_tmp_dir string
The temporary directory used for storing files when doing file upload. Must be
writable by whatever user PHP is running as. If not specified PHP will use the
system's default.
If the directory specified here is not writable, PHP falls back to the system
default temporary directory. If open_basedir is on, then the system default
directory must be allowed for an upload to succeed."
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55242&edit=1