nconf / nconf

NConf - Enterprise Nagios configurator - [NConf is not actively being developed anymore!]
http://www.nconf.org
GNU General Public License v2.0
73 stars 52 forks source link

PHP-MySQL support FAILED on Raspbian Stretch #45

Open xpresservers opened 5 years ago

xpresservers commented 5 years ago

I am trying to install nconf on Raspbian Stretch. I installed all pre-requisties but I am still getting PHP-MySQL support. Any one can help in this regard?

PHP 7.0.33-0+deb9u3 (cli) (built: Mar 8 2019 10:01:24) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.33-0+deb9u3, Copyright (c) 1999-2017, by Zend Technologies

Server version: Apache/2.4.25 (Raspbian) Server built: 2018-11-03T18:46:19

sudo apt-get install php-mysql Reading package lists... Done Building dependency tree
Reading state information... Done php-mysql is already the newest version (1:7.0+49). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Server version: 10.1.37-MariaDB-0+deb9u1 Raspbian 9.0

BrixSat commented 4 years ago

i have all this packages installed regarding php. For the mysql php7.0-mysql. Not all of them for nconf, but wont hurt. Be advised latest mysql (>8) will give you some weird experiences, like some hosts or services not appearing in nagios generated config.

sudo apt-get install libapache2-mod-php libapache2-mod-php7.0 php php-bz2 php-cli php-common php-curl php-gd php-gettext php-gmp php-mbstring php-mcrypt php-mysql php-pear php-sqlite3 php-tcpdf php-xml php-zip php7.0 php7.0-bz2 php7.0-cli php7.0-common php7.0-curl php7.0-dev php7.0-gd php7.0-gmp php7.0-json php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-readline php7.0-sqlite3 php7.0-xml php7.0-zip