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
Nagios XI - Upgrade errors - root.crontab.orig: cannot overwrite existing file
Viewed 1670 times since Tue, Jan 26, 2016
Nagios XI - Can’t Log Into The Web Interface
Viewed 25562 times since Tue, Jan 27, 2015
Nagios XI - Running Out Of Disk Space On The Nagios XI VM
Viewed 7457 times since Tue, Jan 27, 2015
Pages Not Displaying Correctly
Viewed 2567 times since Mon, Jan 25, 2016
ERROR: Please add the ’Optional’ channel to your Red Hat systems subscriptions
Viewed 13287 times since Tue, Jan 26, 2016
Nagios XI - 2014 Upgrade Issue - CONFIG ERROR
Viewed 1995 times since Mon, Jan 25, 2016
Nagios XI - Apply Configuration Fails - Backend login to the Core Configuration failed
Viewed 8888 times since Tue, Aug 2, 2016
Nagios XI - How To Test Check Commands From The Command-line
Viewed 18546 times since Tue, Jan 26, 2016
Nagios XI - Issues with mod_gearman and Performance Data Newlines: "\n"
Viewed 1581 times since Tue, Feb 2, 2016
Slack Notifications Stopped Working
Viewed 1245 times since Wed, Mar 18, 2020