diff --git a/pandora_console/install.php b/pandora_console/install.php index 7a0c15c766..374fad6081 100644 --- a/pandora_console/install.php +++ b/pandora_console/install.php @@ -536,7 +536,7 @@ function install_step2() echo '

Checking software dependencies

'; echo ''; $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"; echo ''; - check_extension('mysql', 'PHP MySQL extension'); check_extension('mysqli', 'PHP MySQL(mysqli) extension'); echo '
'; echo '
'; diff --git a/pandora_console/pandora_console.redhat.spec b/pandora_console/pandora_console.redhat.spec index 1dae4de28f..e1793893fc 100644 --- a/pandora_console/pandora_console.redhat.spec +++ b/pandora_console/pandora_console.redhat.spec @@ -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 diff --git a/pandora_console/pandora_console.spec b/pandora_console/pandora_console.spec index b77f52a1cc..7abdc6606a 100644 --- a/pandora_console/pandora_console.spec +++ b/pandora_console/pandora_console.spec @@ -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