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 - Troubleshooting Reports
Viewed 8775 times since Wed, Dec 5, 2018
Nagios XI - Installing Latest SourceGuardian Loaders
Viewed 9467 times since Mon, Jun 18, 2018
Installation errors on customized corporate builds of CentOS or RHEL
Viewed 15362 times since Tue, Jan 26, 2016
Nagios XI - Apply Configuration Never Completes
Viewed 24356 times since Tue, Jan 27, 2015
Nagios XI - Notification Problems
Viewed 33570 times since Tue, Jan 27, 2015
Web Browser Reports 330 Error Content Encoding
Viewed 9396 times since Tue, Mar 7, 2017
Nagios XI - NSP: Sorry Dave, I can’t let you do that
Viewed 24119 times since Tue, Jan 27, 2015
Nagios XI - Unable to Delete Host
Viewed 25767 times since Tue, Dec 16, 2014
Nagios XI - Configuration Applies, but still get "Configuration File Is Out Of Date" Error
Viewed 6070 times since Tue, Jan 26, 2016
Disabling Port 113 IDENT Requests
Viewed 6973 times since Tue, Mar 12, 2019