Enhanced Logging With rsyslog On Debian Etch And phpLogcon For Viewing - DSN Problem

Discussion in 'HOWTO-Related Questions' started by Kai, Nov 30, 2007.

  1. Kai

    Kai New Member

    Hi all,

    I just installed rsyslog and phpLogCon and got to the install web page, and now I am stuck.

    Whatever i seem to type in i either get the error:
    Fatal error: Call to undefined function mysql_connect() in /var/www/phplogcon/db-drv/mysql.php on line 82

    or

    Fatal error: Call to undefined function mysql_connect() in /var/www/phplogcon/db-drv/mysql.php on line 84


    I am no database admin and got no clue about DSN thingys, byt they all seems related to ODBC, and I choose just plain MySQL.

    And I can connect to the server and the database localy with the credentials specified, so it seems alright.

    I have tried to google for the problem but I am having a difficult time putting the information I find into this context.


    Please help :)


    Regards
    Kai
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Please install the php-mysql package and restart Apache:
    Code:
    apt-get install php5-mysql
    /etc/init.d/apache2 restart
     
  3. Kai

    Kai New Member

    Thank you for the reply.

    The reload of Apache did the trick, altough im pretty sure i had already done that but maby to soon.
    So after a tweaks on permissions it works like a charm :)
     

Share This Page