[Eisfair] E1: phpmyadmin -> import.php Zugriff auf /tmp (open_basedir())
Rolf Bensch
azubi at bensch-net.de
Fr Nov 6 15:11:59 CET 2015
Hallo NG,
nach Update auf das aktuelle phpmyadmin-Paket (incl. MySQL/MariaDB)
erhalte ich beim Import von SQL-Backups folgende Fehlermeldung:
Warning in ./import.php#437
is_writable(): open_basedir restriction in effect. File(/tmp) is not
within the allowed path(s):
(/var/lib/phpmyadmin/phpMyAdmin:/var/lib/php5:/var/lib/phpmyadmin/tmp:/usr/share/doc/phpMyAdmin:/etc/phpMyAdmin:/proc/meminfo:/proc/stat)
Backtrace
./import.php#437: is_writable(string '/tmp')
Laut Netz soll man httpd.conf erweitern:
<DirectoryMatch "/home/sites/site81/">
php_admin_value open_basedir "/home/sites/site81/:/tmp/:/"
</DirectoryMatch>
Ich denke, das müsste über "Append commands to the httpd.conf (experts
only!)" in die Apache-Konfiguration. Aber was wäre der korrekte Pfad für
phpmyadmin (keine vhosts aktiv)?
drwxrwxrwt 13 root root 176128 Nov 6 15:03 tmp
Grüße Rolf
Mehr Informationen über die Mailingliste Eisfair