deps = [ "httpd" ];
text = ''
install -m 0755 -o ${apache.user} -g ${apache.group} -d /var/lib/php/sessions/adminer
- install -m 0755 -o ${apache.user} -g ${apache.group} -d /var/lib/php/tmp/adminer
'';
};
webRoot = adminer;
#"php_admin_flag[log_errors]" = "on";
# Needed to avoid clashes in browser cookies (same domain)
"php_value[session.name]" = "AdminerPHPSESSID";
- "php_admin_value[open_basedir]" = "${webRoot}:/tmp:/var/lib/php/sessions/adminer:/var/lib/php/tmp/adminer";
+ "php_admin_value[open_basedir]" = "${webRoot}:/tmp:/var/lib/php/sessions/adminer";
"php_admin_value[session.save_path]" = "/var/lib/php/sessions/adminer";
- "php_admin_value[upload_tmp_dir]" = "/var/lib/php/tmp/adminer";
};
};
apache = rec {