import.php: $tmp_subdir = sys_get_temp_dir();
4.2.0 complains about not writeable /tmp while the identical
server envirnoment worked before - no sane sever configuration
ever allows systems /tmp to be accessable on a shared server
define a temp-dir inside the phpMyAdmin tree or just
try try is_writable(ini_get('upload_tmp_dir')) and
store there whatever you want but the change in 4.2.0
is broken by design
i just did one change: $open_basedir = ''; because i need now
to import some dumps and even $tmp_subdir = DIR . '/tmp/';
while this directory exists, has write permissions and is for
sure in the open_basedir because otherwise phpMyAdmin could not
be loaded gives the same error with /usr/share/phpMyAdmin/tmp
instead just /tmp
skip the complete open_basedir check results in working as the
last 10 years ago - what i don't get is how someone assumes
system-temp is available for a webserver
Same in 4.2.2. This check is really bad while sys_get_temp_dir() returns /tmp which is out of disk area for virtual web. I think it can be fixed by something as this in import.php, line 376:
change to:
Fix for 4.2.3: https://github.com/phpmyadmin/phpmyadmin/commit/785ad04b38890878b46f90290d7f6ea603fbe02b
See a further problem explained in the comments:
https://github.com/phpmyadmin/phpmyadmin/commit/785ad04b38890878b46f90290d7f6ea603fbe02b
More complete fix, to be released in 4.2.4:
https://github.com/phpmyadmin/phpmyadmin/commit/531fff09fe4ba8ae50022edfb35d5b6f3fdb8281