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 (2)
Article Rating (2 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 - HTTP 500 Error / White Screen After Login
Viewed 7913 times since Mon, Feb 29, 2016
Nagios XI - Scheduled Downtime Not Working
Viewed 8820 times since Mon, Oct 10, 2016
Nagios XI - Error while converting SVG
Viewed 5483 times since Thu, Aug 3, 2017
VMWare checks timing out or slow
Viewed 4692 times since Fri, Feb 11, 2022
Turning Off PHP Notices and Deprecated Messages
Viewed 5520 times since Wed, Oct 20, 2021
OpenSSL causes issue with check_nrpe plugin with NSClient++
Viewed 12796 times since Fri, Apr 30, 2021
Nagios XI - Debugging Bandwidth Performance Graphs
Viewed 17971 times since Tue, Jan 27, 2015
Nagios XI - Core 4 Load Spikes on 1.75 and 7 Hour Intervals
Viewed 5536 times since Mon, Jan 25, 2016
Nagios XI - Installing XI Fails To Install Dependency pymssql
Viewed 9818 times since Mon, Oct 17, 2016
Nagios XI - How To Delete A Data Source From An RRD File
Viewed 15436 times since Wed, Apr 27, 2016