Web interface error in IPS page

,

I’m using NethServer on ARM32 platforms.

I have problems with IPS through web interface as below:

My php version and packages:

[root@fw Module]# php -v
PHP 7.2.31 (cli) (built: May 12 2020 07:02:21) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies

[root@fw Module]# rpm -qa | grep php
php-pdo-7.2.31-2.el7.armv7hl
php-fpm-7.2.31-2.el7.armv7hl
php-mbstring-7.2.31-2.el7.armv7hl
php-common-7.2.31-2.el7.armv7hl
php-7.2.31-2.el7.armv7hl
php-json-7.2.31-2.el7.armv7hl
php-intl-7.2.31-2.el7.armv7hl
oniguruma5php-6.9.5+rev1-2.el7.armv7hl
php-mysqlnd-7.2.31-2.el7.armv7hl
nethserver-php-1.2.1-1.ns7.noarch
php-cli-7.2.31-2.el7.armv7hl
php-xml-7.2.31-2.el7.armv7hl
php-gd-7.2.31-2.el7.armv7hl

[root@fw ~]# cat /etc/system-release
CentOS Linux release 7.8.2003 (AltArch)

I solved my problem as bellow:

[root@fw Module]# diff IPS.php IPS-orig.php
122c122
< public function readStatus($status1, $status2=null)

public function readStatus($status1, $status2)

but in each package update I see the problem again.

I have limited knowledge in PHP development, but it seems the problem caused by the PHP version that I’m using.

The system should run PHP 54 by default.
Did you changed it? :thinking:

Yes, I customized the system, I need newer PHP version.

In my customized system, other base modules are working without any problem.

Maybe my problem is a pointless issue in the main project.

The old Server Manager is designed to work with PHP 54.
You have two different options here:

  • try to switch to new Server Manager (it still uses PHP only for some API, most things should work)
  • revert back to PHP 54, and select a custom version only for a specific virtual host

Finally, I’m not sure that SCL provides all PHP version for ARM architecture. I’m not really an export on this.

Maybe @dz00te or @mark_nl can give a better suggestion than mine :wink:

Thank you for your kind advices. :pray:

1 Like