Skip to content
Snippets Groups Projects
Commit 93f15ebe authored by tbrehm's avatar tbrehm
Browse files

Bugfix: created php session directory is not writable by apache

parent 72d7c3c5
No related branches found
No related tags found
No related merge requests found
...@@ -343,6 +343,9 @@ class apache2_plugin { ...@@ -343,6 +343,9 @@ class apache2_plugin {
// Chown and chmod the directories // Chown and chmod the directories
exec("chown -R $username:$groupname ".escapeshellcmd($data["new"]["document_root"])); 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 // Create the vhost config file
$app->load('tpl'); $app->load('tpl');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment