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
Zvonimir
ISPConfig 3
Commits
136205ed
Commit
136205ed
authored
Jan 14, 2010
by
tbrehm
Browse files
Fixed: FS#1022 - PMA problem with open_basedir
parent
2cbff3b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
server/conf/php-fcgi-starter.master
View file @
136205ed
...
...
@@ -10,7 +10,7 @@ export PHP_DOCUMENT_ROOT
PHP_FCGI_MAX_REQUESTS
=
<tmpl_var
name
=
'php_fcgi_max_requests'
>
export
PHP_FCGI_MAX_REQUESTS
exec
<tmpl_var
name
=
'php_fcgi_bin'
>
\
<tmpl_if
name
=
"security_level"
op
=
"=="
value
=
"20"
>
-d
open_basedir
=
<tmpl_var
name
=
'document_root'
>
\
<tmpl_if
name
=
"security_level"
op
=
"=="
value
=
"20"
>
-d
open_basedir
=
"
<tmpl_var name='document_root'>
:/usr/share/php5:/tmp:/usr/share/phpmyadmin"
\
-d
upload_tmp_dir
=
<tmpl_var
name
=
'document_root'
>
/tmp
\
-d
session.save_path
=
<tmpl_var
name
=
'document_root'
>
/tmp
\
</tmpl_if>
$1
\ No newline at end of file
server/conf/vhost.conf.master
View file @
136205ed
...
...
@@ -96,7 +96,7 @@
php_admin_value upload_tmp_dir <tmpl_var name='document_root'>/tmp
php_admin_value session.save_path <tmpl_var name='document_root'>/tmp
<tmpl_if name='security_level' op='==' value='20'>
php_admin_value open_basedir <tmpl_var name='document_root'>/web:<tmpl_var name='document_root'>/tmp:/usr/share/php5
php_admin_value open_basedir <tmpl_var name='document_root'>/web:<tmpl_var name='document_root'>/tmp:/usr/share/php5
:/tmp:/usr/share/phpmyadmin
</tmpl_if>
</tmpl_if>
<tmpl_if name='php' op='==' value='suphp'>
...
...
@@ -257,7 +257,7 @@
php_admin_value upload_tmp_dir <tmpl_var name='document_root'>/tmp
php_admin_value session.save_path <tmpl_var name='document_root'>/tmp
<tmpl_if name='security_level' op='==' value='20'>
php_admin_value open_basedir <tmpl_var name='document_root'>/web:<tmpl_var name='document_root'>/tmp:/usr/share/php5:/tmp
php_admin_value open_basedir <tmpl_var name='document_root'>/web:<tmpl_var name='document_root'>/tmp:/usr/share/php5:/tmp
:/usr/share/phpmyadmin
</tmpl_if>
</tmpl_if>
<tmpl_if name='php' op='==' value='suphp'>
...
...
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