Hi i have a problem witch my ocs inventory server
im trying to install ocs server 2.8 on my ubuntu 20.04 srv
when im trying to enable administration page http://xx.xx.xx.xx/ocsreports/install.php i got a blank screen
service apache2 status show me:
apachectl[663]: ocsinventory-server: Bad setting. `IPDISCOVER_LINK_TAG_NETWORK` is not set. Default: `0`
and here is my apache error.log
[Fri Feb 19 07:28:06.664599 2021] [mpm_prefork:notice] [pid 15123] AH00163: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
[Fri Feb 19 07:28:06.665564 2021] [core:notice] [pid 15123] AH00094: Command line: '/usr/sbin/apache2'
[Fri Feb 19 07:28:09.127235 2021] [mpm_prefork:notice] [pid 15123] AH00169: caught SIGTERM, shutting down
[Fri Feb 19 07:28:09.250427 2021] [mpm_prefork:notice] [pid 15344] AH00163: Apache/2.4.41 (Ubuntu) mod_perl/2.0.11 Perl/v5.30.0 configured -- resuming normal operations
[Fri Feb 19 07:28:09.250497 2021] [core:notice] [pid 15344] AH00094: Command line: '/usr/sbin/apache2'
[Fri Feb 19 07:28:21.887677 2021] [mpm_prefork:notice] [pid 15344] AH00169: caught SIGTERM, shutting down
[Fri Feb 19 07:28:31.553000 2021] [mpm_prefork:notice] [pid 16722] AH00163: Apache/2.4.41 (Ubuntu) mod_perl/2.0.11 Perl/v5.30.0 configured -- resuming normal operations
[Fri Feb 19 07:28:31.553083 2021] [core:notice] [pid 16722] AH00094: Command line: '/usr/sbin/apache2'
[Fri Feb 19 07:39:57.868675 2021] [mpm_prefork:notice] [pid 16722] AH00169: caught SIGTERM, shutting down
[Fri Feb 19 07:39:58.013502 2021] [mpm_prefork:notice] [pid 37302] AH00163: Apache/2.4.41 (Ubuntu) mod_perl/2.0.11 Perl/v5.30.0 configured -- resuming normal operations
[Fri Feb 19 07:39:58.013563 2021] [core:notice] [pid 37302] AH00094: Command line: '/usr/sbin/apache2'
[Fri Feb 19 08:01:02.893204 2021] [mpm_prefork:notice] [pid 37302] AH00169: caught SIGTERM, shutting down
[Fri Feb 19 08:01:25.300790 2021] [mpm_prefork:notice] [pid 711] AH00163: Apache/2.4.41 (Ubuntu) mod_perl/2.0.11 Perl/v5.30.0 configured -- resuming normal operations
[Fri Feb 19 08:01:25.303489 2021] [core:notice] [pid 711] AH00094: Command line: '/usr/sbin/apache2'
[Fri Feb 19 08:12:23.862781 2021] [mpm_prefork:notice] [pid 711] AH00169: caught SIGTERM, shutting down
[Fri Feb 19 08:12:24.384198 2021] [mpm_prefork:notice] [pid 3278] AH00163: Apache/2.4.41 (Ubuntu) mod_perl/2.0.11 Perl/v5.30.0 configured -- resuming normal operations
[Fri Feb 19 08:12:24.384250 2021] [core:notice] [pid 3278] AH00094: Command line: '/usr/sbin/apache2'
[Fri Feb 19 08:12:48.279234 2021] [php7:error] [pid 3279] [client 172.16.3.219:5400] PHP Fatal error: Uncaught Error: Call to undefined function mysqli_real_escape_string() in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php:67\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php(85): generate_secure_sql()\n#1 /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php(37): mysql2_query_secure()\n#2 /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php(346): look_config_default_values()\n#3 /usr/share/ocsinventory-reports/ocsreports/install.php(30): html_header()\n#4 {main}\n thrown in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 67
[Fri Feb 19 08:13:29.356325 2021] [mpm_prefork:notice] [pid 3278] AH00169: caught SIGTERM, shutting down
[Fri Feb 19 08:13:53.429727 2021] [mpm_prefork:notice] [pid 892] AH00163: Apache/2.4.41 (Ubuntu) mod_perl/2.0.11 Perl/v5.30.0 configured -- resuming normal operations
[Fri Feb 19 08:13:53.431334 2021] [core:notice] [pid 892] AH00094: Command line: '/usr/sbin/apache2'
[Fri Feb 19 08:14:24.860773 2021] [php7:error] [pid 937] [client 172.16.3.219:5447] PHP Fatal error: Uncaught Error: Call to undefined function mysqli_real_escape_string() in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php:67\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php(85): generate_secure_sql()\n#1 /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php(37): mysql2_query_secure()\n#2 /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php(346): look_config_default_values()\n#3 /usr/share/ocsinventory-reports/ocsreports/install.php(30): html_header()\n#4 {main}\n thrown in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 67
[Fri Feb 19 08:14:40.841346 2021] [php7:error] [pid 938] [client 172.16.3.219:5466] PHP Fatal error: Uncaught Error: Call to undefined function mysqli_real_escape_string() in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php:67\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php(85): generate_secure_sql()\n#1 /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php(37): mysql2_query_secure()\n#2 /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php(346): look_config_default_values()\n#3 /usr/share/ocsinventory-reports/ocsreports/install.php(30): html_header()\n#4 {main}\n thrown in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 67
[Fri Feb 19 08:14:51.830443 2021] [php7:error] [pid 940] [client 172.16.3.219:5465] PHP Fatal error: Uncaught Error: Call to undefined function mysqli_real_escape_string() in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php:67\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php(85): generate_secure_sql()\n#1 /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php(37): mysql2_query_secure()\n#2 /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php(346): look_config_default_values()\n#3 /usr/share/ocsinventory-reports/ocsreports/install.php(30): html_header()\n#4 {main}\n thrown in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 67
Can anyone help me ?