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
lolo888
ISPConfig 3
Commits
8c5f5493
Commit
8c5f5493
authored
Sep 17, 2009
by
tbrehm
Browse files
Fixed: FS#894 - Improve mysql connection error handling in installer
Check if the mysql_connect function exists in the installer.
parent
ed666d97
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/install.php
View file @
8c5f5493
...
...
@@ -109,6 +109,9 @@ exec('hostname -f', $tmp_out);
$conf
[
'hostname'
]
=
$inst
->
free_query
(
'Full qualified hostname (FQDN) of the server, eg server1.domain.tld '
,
$tmp_out
[
0
]);
unset
(
$tmp_out
);
// Check if the mysql functions are loaded in PHP
if
(
!
function_exists
(
'mysql_connect'
))
die
(
'No PHP mysql functions available. Please ensure that the PHP mysql module is loaded.'
);
//** Get MySQL root credentials
$finished
=
false
;
do
{
...
...
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