PDA

View Full Version : Enhanced Logging With rsyslog On Debian Etch And phpLogcon For Viewing - DSN Problem


Kai
30th November 2007, 11:04
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

falko
1st December 2007, 13:36
Please install the php-mysql package and restart Apache:
apt-get install php5-mysql
/etc/init.d/apache2 restart

Kai
4th December 2007, 10:50
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 :)