Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
54c0c31e
Commit
54c0c31e
authored
Jun 04, 2008
by
tbrehm
Browse files
- Added php mode questions to expert setup mode in install.php file.
parent
9b9ba428
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/install.php
View file @
54c0c31e
...
...
@@ -288,6 +288,23 @@ if($install_mode == 'Standard') {
//** Configure ISPConfig :-)
if
(
strtolower
(
$inst
->
simple_query
(
'Install ISPConfig'
,
array
(
'y'
,
'n'
),
'y'
))
==
'y'
)
{
swriteln
(
'Installing ISPConfig'
);
//** We want to check if the server is a module or cgi based php enabled server
//** TODO: Don't always ask for this somehow ?
$fast_cgi
=
$inst
->
simple_query
(
'CGI PHP Enabled Server?'
,
array
(
'yes'
,
'no'
),
'no'
);
if
(
$fast_cgi
==
'yes'
)
{
$alias
=
$inst
->
free_query
(
'Script Alias'
,
'/php/'
);
$path
=
$inst
->
free_query
(
'Script Alias Path'
,
'/path/to/cgi/bin'
);
$inst
->
conf
[
'apache'
][
'vhost_cgi_alias'
]
=
sprintf
(
'ScriptAlias %s %s'
,
$alias
,
$path
);
}
else
{
$inst
->
conf
[
'apache'
][
'vhost_cgi_alias'
]
=
""
;
}
//** Customise the port ISPConfig runs on
$inst
->
conf
[
'apache'
][
'vhost_port'
]
=
$inst
->
free_query
(
'ISPConfig Port'
,
'8080'
);
$inst
->
install_ispconfig
();
//* Configure ISPConfig
...
...
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