Skip to content

Commit 93f15eb

Browse files
committed
Bugfix: created php session directory is not writable by apache
1 parent 72d7c3c commit 93f15eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,9 @@ function update($event_name,$data) {
343343
// Chown and chmod the directories
344344
exec("chown -R $username:$groupname ".escapeshellcmd($data["new"]["document_root"]));
345345

346+
// make temp direcory writable for the apache user and the website user
347+
exec("chmod 777 ".escapeshellcmd($data["new"]["document_root"]."/tmp"));
348+
346349

347350
// Create the vhost config file
348351
$app->load('tpl');

0 commit comments

Comments
 (0)