Home » Categories » Products » Nagios XI » Troubleshooting » Common Problems

Nagios XI - HTTP 500 Error / PHP Parse error - Unexpected $end

Problem Description

For those doing manual installations, some of the tools embedded in Nagios XI use the PHP short tags feature, which is not necessarily enabled on all web servers by default. This results in the errors "HTTP 500 Error"/"PHP Parse error - Unexpected $end".

 

Resolving The Problem

To fix this issue, locate your php.ini file (located at /etc/php.ini for CentOS installations), and verify that "short_open_tag" is set to "on." We intend to use full tags for future version, but some components and addons may still use them, so we recommend leaving this setting to "on."

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Upgrading to NDO 3 after having been downgraded in newer versions of Nagios XI
Viewed 3074 times since Fri, Jan 15, 2021
OpenSSL causes issue with check_nrpe plugin with NSClient++
Viewed 6065 times since Fri, Apr 30, 2021
Nagios XI - Installing Latest SourceGuardian Loaders
Viewed 6222 times since Mon, Jun 18, 2018
CCM says unapplied changes exist, but none listed
Viewed 4656 times since Mon, Feb 27, 2017
Nagios XI - MSSQL Query Wizard - Invalid characters in the username
Viewed 4748 times since Thu, Aug 3, 2017
Nagios XI - Resetting The nagiosadmin Password
Viewed 41356 times since Mon, Jan 25, 2016
Nagios XI - ERROR: unable to open include file: conf.d/*.cfg
Viewed 5817 times since Sun, May 29, 2016
NRPE - Agent and Plugin Explained
Viewed 57321 times since Fri, Jul 14, 2017
Nagios XI - Defining Global Environment Variables
Viewed 9232 times since Thu, Mar 17, 2016
Enabling Oracle Linux Optional Repository
Viewed 16359 times since Mon, May 14, 2018