[Eisfair] E1: phpmyadmin -> import.php Zugriff auf /tmp (open_basedir())

Marcus Roeckrath marcus.roeckrath at gmx.de
Sa Nov 7 15:34:32 CET 2015


Hallo Holger,

Marcus Roeckrath wrote:

>>> Es sollte in die php-http-Datei auch die drei Pafde aus der
>>> phpmyadmin-Konfiguration immer mit rein, wenn sie denn gesetzt sind.
>> 
>> Das verstehe ich jetzt nicht, welche Pfade sollen wo mit rein?
> 
> Die man in der phpmyadmin-Konfigurationsdatei frei festlegen kann:
> 
> PHPMYADMIN_UPLOADDIR=''           # Destination directory for uploaded sql
>                                   # scripts
> PHPMYADMIN_SAVEDIR=''             # Destination directory for db dump
> files
> PHPMYADMIN_DOCSQLDIR=''           # The name of the directory where docSQL
>                                   # files can be uploaded for import into
>                                   # phpMyAdmin

In /etc/apache2/mods-available/phpmyadmin.conf

    php_admin_value open_basedir
"/var/lib/phpmyadmin/phpMyAdmin:/var/lib/php5:/var/lib/phpmyadmin/tmp:/usr/share/doc/phpMyAdmin:/etc/phpMyAdmin:/proc/meminfo:/proc/stat"

Sonst gibts doch wieder Zugriffsprobleme.

-- 
Gruss Marcus


Mehr Informationen über die Mailingliste Eisfair