Merge branch '3404-Mejoras_y_arreglos_en_la_instalación_de_la_consola' into 'develop'

fixed error php7 info install and RPM

See merge request artica/pandorafms!2157

Former-commit-id: 5800dae53a03cc5be2c4ab301b93e87f77cc7363
This commit is contained in:
daniel 2019-02-18 17:08:07 +01:00
commit b02aa78060
3 changed files with 3 additions and 4 deletions

View File

@ -536,7 +536,7 @@ function install_step2()
echo '<h2>Checking software dependencies</h2>';
echo '<table border=0 width=230>';
$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('ldap', 'PHP LDAP extension');
$res += check_extension('snmp', 'PHP SNMP extension');
@ -564,7 +564,6 @@ function install_step2()
font-size: 8.5pt;margin-top: 2px; font-weight: bolder;'>DB Engines</span>";
echo '</td><td>';
echo '</td></tr>';
check_extension('mysql', 'PHP MySQL extension');
check_extension('mysqli', 'PHP MySQL(mysqli) extension');
echo '</table>';

View File

@ -26,7 +26,7 @@ BuildRoot: %{_tmppath}/%{name}
BuildArch: noarch
AutoReq: 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-mysqlnd, php-mbstring, php-zip, php-zlib, php-curl
Requires: xorg-x11-fonts-75dpi, xorg-x11-fonts-misc, php-pecl-zip

View File

@ -29,7 +29,7 @@ BuildArch: noarch
AutoReq: 0
Requires: apache2
Requires: apache2-mod_php7
Requires: php >= 4.3.0
Requires: php >= 7.0
Requires: php-gd, php-snmp, php-json, php-gettext
Requires: php-mysqlnd, php-ldap, php-mbstring, php
Requires: graphviz, xorg-x11-fonts-core, graphviz-gd