Ad Widget

Collapse

Zabbix 2 HTTP 500 internal server error after install

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • davidm40
    Junior Member
    • Jul 2012
    • 2

    #1

    Zabbix 2 HTTP 500 internal server error after install

    Hi there,
    I'm trying to install Zabbix 2.0.1 on Ubuntu, everything went fine exept at the very end of the setup. I'm asked to copy the content of the config to /var/www/zabbix/conf/zabbix.conf.php (see content):
    Code:
    <?php
    // Zabbix GUI configuration file
    global $DB;
    
    $DB['TYPE']			= 'MYSQL';
    $DB['SERVER']			= 'localhost';
    $DB['PORT']			= '0';
    $DB['DATABASE']		= 'zabbix';
    $DB['USER']			= 'root';
    $DB['PASSWORD']		= 'mypassword';
    
    // SCHEMA is relevant only for IBM_DB2 database
    $DB['SCHEMA']			= '';
    
    $ZBX_SERVER				= 'localhost';
    $ZBX_SERVER_PORT		= '10051';
    $ZBX_SERVER_NAME		= '';
    
    $IMAGE_FORMAT_DEFAULT	= IMAGE_FORMAT_PNG;
    ?>
    I restart apache2 then refresh the page and I receive an internal server error message.
    Any idea ? Thanks
  • jsosic
    Member
    • Apr 2008
    • 47

    #2
    You probably miss php5-mysql package...

    Comment

    • davidm40
      Junior Member
      • Jul 2012
      • 2

      #3
      A 18 months old post... thx anyway ^^ i gave up with IT since

      Comment

      • jsosic
        Member
        • Apr 2008
        • 47

        #4
        I had the same problem and solved it, so just wanted to record it for future googlers...

        Comment

        Working...