Issue configuring pnp4nagios
Posted: Mon Sep 02, 2024 6:09 am
Hello guys,
I recently installed Nagios Core which is now working fine, but having a bit more issues implementing pnp4nagios, after I overcame some issue with the installation, now there is some issue with php.
Error code:
PNP4Nagios Environment Tests
The following options are determined by "configure". If any of the tests have failed, consult the documentation for more information on how to correct the problem.
Here is the test result:
Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /usr/local/pnp4nagios/share/install.php:108 Stack trace: #0 /usr/local/pnp4nagios/share/index.php(140): include() #1 {main} thrown in /usr/local/pnp4nagios/share/install.php on line 108
PNP4Nagios Version pnp4nagios-0.6.26
Prefix /usr/local/pnp4nagios
Configure Arguments ./configure '--with-httpd-conf=/etc/apache2/sites-enabled'
RRD Storage /usr/local/pnp4nagios/var/perfdata is readable.
RRDtool Binary /usr/bin/rrdtool is executable by PHP
PHP GD extension Pass
PHP function proc_open() Pass
PHP zlib extension Pass
PHP session extension Pass
PHP JSON extension Pass
PHP magic_quotes_gpc
Think there was recently an issue with php version, but I am using the most recent one I guess...
PHP 8.2.20 (cli) (built: Jun 17 2024 13:33:14) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.20, Copyright (c) Zend Technologies
with Zend OPcache v8.2.20, Copyright (c), by Zend Technologies
Was anyone facing simillar issue and would be able to share some solution?
Many thanks!
I recently installed Nagios Core which is now working fine, but having a bit more issues implementing pnp4nagios, after I overcame some issue with the installation, now there is some issue with php.
Error code:
PNP4Nagios Environment Tests
The following options are determined by "configure". If any of the tests have failed, consult the documentation for more information on how to correct the problem.
Here is the test result:
Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /usr/local/pnp4nagios/share/install.php:108 Stack trace: #0 /usr/local/pnp4nagios/share/index.php(140): include() #1 {main} thrown in /usr/local/pnp4nagios/share/install.php on line 108
PNP4Nagios Version pnp4nagios-0.6.26
Prefix /usr/local/pnp4nagios
Configure Arguments ./configure '--with-httpd-conf=/etc/apache2/sites-enabled'
RRD Storage /usr/local/pnp4nagios/var/perfdata is readable.
RRDtool Binary /usr/bin/rrdtool is executable by PHP
PHP GD extension Pass
PHP function proc_open() Pass
PHP zlib extension Pass
PHP session extension Pass
PHP JSON extension Pass
PHP magic_quotes_gpc
Think there was recently an issue with php version, but I am using the most recent one I guess...
PHP 8.2.20 (cli) (built: Jun 17 2024 13:33:14) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.20, Copyright (c) Zend Technologies
with Zend OPcache v8.2.20, Copyright (c), by Zend Technologies
Was anyone facing simillar issue and would be able to share some solution?
Many thanks!