1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
<?php
/*
Copyright (c) Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
?>
<?php if (INSTALL != '1') { exit; } ?>
<h4><?php echo _('Required'); ?></h4>
<p><?php echo _('PHP Version'); ?>:
<?php
if(!check_php_ver()) {
$string = phpversion() . " " . _('Hash Function Exists') . " " . print_boolean(function_exists('hash_algos')) . " " . _('SHA256 Support') . " " . print_boolean(in_array('sha256',$algos));
echo debug_result($string,false);
Error::add_error('install',_('PHP Version'));
}
else {
echo debug_result(phpversion(),true);
}
?>
</p>
<p><?php echo _('Mysql for PHP'); ?>:
<?php
if (!check_php_mysql()) {
echo debug_result('',false);
Error::add_error('install',_('Mysql for PHP'));
}
else {
echo debug_result(mysql_get_client_info(),true);
}
?>
</p>
<p><?php echo _('PHP Session Support'); ?>:
<?php
if (!check_php_session()) {
echo debug_result('',false);
Error::add_error('install',_('PHP Session Support'));
}
else {
echo debug_result('',true);
}
?>
</p>
<p><?php echo _('PHP ICONV Support'); ?>:
<?php
if (!check_php_iconv()) {
echo debug_result('',false);
Error::add_error('install',_('PHP ICONV Support'));
}
else {
echo debug_result('',true);
}
?>
</p>
<p><?php echo _('PHP PCRE Support'); ?>:
<?php
if (!check_php_pcre()) {
echo debug_result('',false);
Error::add_error('install',_('PHP PCRE Support'));
}
else {
echo debug_result('',true);
}
?>
</p>
<p><?php echo _('PHP PutENV Support'); ?>:
<?php
if (!check_putenv()) {
echo debug_result('',false);
Error::add_error('install',_('PHP PutENV Support'));
}
else {
echo debug_result('',true);
}
?>
</p>
<hr />
<h4><?php echo _('Optional'); ?></h4>
<p><?php echo _('Gettext Support'); ?>:
<?php
if (!check_gettext()) {
echo debug_result(_('Gettext Emulator will be used'),false);
}
else {
echo debug_result('',true);
}
?>
</p>
<p><?php echo _('Mbstring Support'); ?>:
<?php
if (!check_mbstring()) {
echo debug_result(_('Multibyte Chracter may not detect correct'),false);
}
else {
echo debug_result('',true);
}
?>
</p>
|