Commit 93f15ebe authored by tbrehm's avatar tbrehm
Browse files

Bugfix: created php session directory is not writable by apache

parent 72d7c3c5
......@@ -343,6 +343,9 @@ class apache2_plugin {
// Chown and chmod the directories
exec("chown -R $username:$groupname ".escapeshellcmd($data["new"]["document_root"]));
// make temp direcory writable for the apache user and the website user
exec("chmod 777 ".escapeshellcmd($data["new"]["document_root"]."/tmp"));
// Create the vhost config file
$app->load('tpl');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment