-
Notifications
You must be signed in to change notification settings - Fork 0
php openbase_dir
PinkPantherchen edited this page Nov 6, 2023
·
1 revision
PHP open_basedir If you want to access your local minidlna-database located outside the document root of your apache2 webserver you have to set the open_basedir.
php.ini Set the "open_basedir=/var/lib/minidlna" in you php.ini (/var/lib/minidlna is where the minidlna-db is located) and restart the apache2 server
.htaccess If you dont have access to the php.ini, and you are ALLOWED to change php-settings via .htaccess file, then create in your minidlna-webdirectory (accessable over the web) a file called ".htaccess" ( the point a the beginning is no fail!!!)
try one of those lines: php_admin_value open_basedir /var/lib/minidlna or php_value open_basedir /var/lib/minidlna
This may help