Skip to content

Instantly share code, notes, and snippets.

@ssudharsan
Last active August 29, 2015 14:02
Show Gist options
  • Save ssudharsan/6ca061bb2663964cfcb3 to your computer and use it in GitHub Desktop.
Save ssudharsan/6ca061bb2663964cfcb3 to your computer and use it in GitHub Desktop.
[nconf] Resolving semi-blank screen problem with nconf
Resolving semi-blank screen problem with nconf on Amazon Linux
==============================================
1. Check the apache error log, I had the following error in my error_log
/var/log/httpd/error_log
[Mon Jun 02 05:39:36.149471 2014] [:error] [pid 29946] [client *.*.*.*:59964] PHP Fatal error: Call to undefined function mysql_query() in /usr/share/nagios/html/nconf/include/functions.php on line 1016, referer: /nagios/nconf/INSTALL.php?logout=1
2. Install MySQL database module for PHP
do rpm -qa | grep mysql
look for your php version (php55* something)
yum-install php55-mysql
Note: if you get this error, try to upgrade php*-common to the lastest and then install php-mysql package.
Error: php55-common conflicts with php54-common-5.4.28-1.54.amzn1.x86_64
Error: php55-xml conflicts with php54-xml-5.4.28-1.54.amzn1.x86_64
Error: php55-cli conflicts with php54-cli-5.4.28-1.54.amzn1.x86_64
Error: php55-process conflicts with php54-process-5.4.28-1.54.amzn1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment