Wizard debugging help php.ini syntax

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
notoncall
Posts: 4
Joined: Wed Jul 09, 2014 3:48 pm

Wizard debugging help php.ini syntax

Post by notoncall »

I'm working on a custom wizard and I'm curious about the guide here:

http://assets.nagios.com/downloads/nagi ... _In_XI.pdf

The instructions for raising the error verbosity level include modifying the php.ini file with this line:

Code: Select all

error_reporting = E_ALL; & ~E_WARNING
That semi-colon looks like bad syntax. Can you confirm that this is correct?

I consulted the PHP manual here:
http://php.net/manual/en/function.error-reporting.php

Many thanks.
It's not in production until it's monitored.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Wizard debugging help php.ini syntax

Post by tmcdonald »

The semi-colon should be removed. The correct line is:

Code: Select all

error_reporting = E_ALL & ~E_WARNING
But you can really put any values you need in there depending on how verbose you want it.

I'll look into editing that doc.
Former Nagios employee
Locked