Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
93f15ebe
Commit
93f15ebe
authored
Dec 07, 2008
by
tbrehm
Browse files
Bugfix: created php session directory is not writable by apache
parent
72d7c3c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/apache2_plugin.inc.php
View file @
93f15ebe
...
...
@@ -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'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment