THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
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/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

1 (6)
Article Rating (6 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
Nagios XI - Uploaded plugin returns "/bin/bash^M: bad interpreter: No such file or directory"
Viewed 9885 times since Thu, Feb 25, 2016
Nagios XI - Common Upgrade Failures And Solutions
Viewed 16440 times since Thu, Jun 29, 2017
OpenSSL causes issue with check_nrpe plugin with NSClient++
Viewed 13980 times since Fri, Apr 30, 2021
CCM says unapplied changes exist, but none listed
Viewed 7588 times since Mon, Feb 27, 2017
Nagios XI - Apply Configuration Fails - Backend login to the Core Configuration failed
Viewed 28029 times since Tue, Aug 2, 2016
Nagios XI - ERROR: unable to open include file: /etc/mrtg/conf.d/xxxxxxx.cfg
Viewed 10209 times since Wed, Jun 1, 2016
Backups are not being generated due to tar creation errors
Viewed 5305 times since Thu, Feb 27, 2020
Nagios XI - Migrate Performance Data
Viewed 15276 times since Tue, Jan 26, 2016
Nagios Core - Failed to register iobroker
Viewed 8645 times since Wed, Sep 20, 2017
Nagios XI - WMI Authentication Problems
Viewed 7614 times since Thu, Feb 25, 2016