fixed error php7 info install and RPM
Former-commit-id: 4c38ee93e01d2ff88bb0d3dc563cf7bbbbcd9946
This commit is contained in:
parent
6485de04fd
commit
9af1680e15
|
@ -487,7 +487,7 @@ function install_step2() {
|
||||||
echo "<h2>Checking software dependencies</h2>";
|
echo "<h2>Checking software dependencies</h2>";
|
||||||
echo "<table border=0 width=230>";
|
echo "<table border=0 width=230>";
|
||||||
$res = 0;
|
$res = 0;
|
||||||
$res += check_variable(phpversion(),"5.2","PHP version >= 5.2",1);
|
$res += check_variable(phpversion(),"7.0","PHP version >= 7.0",1);
|
||||||
$res += check_extension("gd","PHP GD extension");
|
$res += check_extension("gd","PHP GD extension");
|
||||||
$res += check_extension("ldap","PHP LDAP extension");
|
$res += check_extension("ldap","PHP LDAP extension");
|
||||||
$res += check_extension("snmp","PHP SNMP extension");
|
$res += check_extension("snmp","PHP SNMP extension");
|
||||||
|
@ -518,7 +518,6 @@ function install_step2() {
|
||||||
font-size: 8.5pt;margin-top: 2px; font-weight: bolder;'>DB Engines</span>";
|
font-size: 8.5pt;margin-top: 2px; font-weight: bolder;'>DB Engines</span>";
|
||||||
echo "</td><td>";
|
echo "</td><td>";
|
||||||
echo "</td></tr>";
|
echo "</td></tr>";
|
||||||
check_extension("mysql", "PHP MySQL extension");
|
|
||||||
check_extension("mysqli", "PHP MySQL(mysqli) extension");
|
check_extension("mysqli", "PHP MySQL(mysqli) extension");
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ BuildRoot: %{_tmppath}/%{name}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
AutoReq: 0
|
AutoReq: 0
|
||||||
Requires: %{httpd_name} >= 2.0.0
|
Requires: %{httpd_name} >= 2.0.0
|
||||||
Requires: mod_php >= 5.2.0
|
Requires: mod_php >= 7.0
|
||||||
Requires: php-gd, php-ldap, php-snmp, php-session, php-gettext
|
Requires: php-gd, php-ldap, php-snmp, php-session, php-gettext
|
||||||
Requires: php-mysqlnd, php-mbstring, php-zip, php-zlib, php-curl
|
Requires: php-mysqlnd, php-mbstring, php-zip, php-zlib, php-curl
|
||||||
Requires: xorg-x11-fonts-75dpi, xorg-x11-fonts-misc, php-pecl-zip
|
Requires: xorg-x11-fonts-75dpi, xorg-x11-fonts-misc, php-pecl-zip
|
||||||
|
|
|
@ -29,7 +29,7 @@ BuildArch: noarch
|
||||||
AutoReq: 0
|
AutoReq: 0
|
||||||
Requires: apache2
|
Requires: apache2
|
||||||
Requires: apache2-mod_php7
|
Requires: apache2-mod_php7
|
||||||
Requires: php >= 4.3.0
|
Requires: php >= 7.0
|
||||||
Requires: php-gd, php-snmp, php-json, php-gettext
|
Requires: php-gd, php-snmp, php-json, php-gettext
|
||||||
Requires: php-mysqlnd, php-ldap, php-mbstring, php
|
Requires: php-mysqlnd, php-ldap, php-mbstring, php
|
||||||
Requires: graphviz, xorg-x11-fonts-core, graphviz-gd
|
Requires: graphviz, xorg-x11-fonts-core, graphviz-gd
|
||||||
|
|
Loading…
Reference in New Issue